All Projects → Pereingo → Statsd Csharp Client

Pereingo / Statsd Csharp Client

Licence: mit
Statsd C# Client

Projects that are alternatives of or similar to Statsd Csharp Client

Openmod
OpenMod .NET Plugin Framework
Stars: ✭ 81 (-26.36%)
Mutual labels:  nuget
Amon
Amon is a modern server monitoring platform.
Stars: ✭ 1,331 (+1110%)
Mutual labels:  statsd
Foundatio
Pluggable foundation blocks for building distributed apps.
Stars: ✭ 1,365 (+1140.91%)
Mutual labels:  statsd
Sharp7
Nuget package for Sharp7
Stars: ✭ 89 (-19.09%)
Mutual labels:  nuget
Resharper Nuget
Plugin for ReSharper to support NuGet references correctly
Stars: ✭ 93 (-15.45%)
Mutual labels:  nuget
Binance.api.csharp.client
C#.NET client for Binance Exchange API.
Stars: ✭ 98 (-10.91%)
Mutual labels:  nuget
Blurrycontrols
Small design library for blured controls in XAML and WPF for C#
Stars: ✭ 77 (-30%)
Mutual labels:  nuget
Yeelightapi
C# API (.Net) to control Xiaomi Yeelight devices
Stars: ✭ 106 (-3.64%)
Mutual labels:  nuget
Umbracofilesystemproviders.azure
☁️ An Azure Blob Storage IFileSystem provider for Umbraco
Stars: ✭ 94 (-14.55%)
Mutual labels:  nuget
Lambda Converters
Strongly-typed lambda expressions as value converters, data template selectors, and validation rules
Stars: ✭ 99 (-10%)
Mutual labels:  nuget
Dipstick
Configurable metrics toolkit for Rust applications
Stars: ✭ 92 (-16.36%)
Mutual labels:  statsd
Statsderl
High-Performance Erlang StatsD Client
Stars: ✭ 92 (-16.36%)
Mutual labels:  statsd
Latestversionplugin
LatestVersion Plugin for Xamarin and Windows apps
Stars: ✭ 99 (-10%)
Mutual labels:  nuget
Python Prometheus Demo
Demo of using Prometheus for monitoring Python web applications
Stars: ✭ 83 (-24.55%)
Mutual labels:  statsd
Binancedotnet
Official C# Wrapper for the Binance exchange API, with REST and WebSocket endpoints
Stars: ✭ 102 (-7.27%)
Mutual labels:  nuget
Krypton Net 5.470
A update to Component factory's krypton toolkit to support the .NET 4.7 framework.
Stars: ✭ 79 (-28.18%)
Mutual labels:  nuget
Rye
A tiny http middleware for Golang with added handlers for common needs.
Stars: ✭ 95 (-13.64%)
Mutual labels:  statsd
Publish Nuget
📦 GitHub action to automate publishing NuGet packages when project version changes
Stars: ✭ 109 (-0.91%)
Mutual labels:  nuget
Brighter
Command Dispatcher, Processor, and Distributed Task Queue
Stars: ✭ 1,393 (+1166.36%)
Mutual labels:  nuget
Multilingualplugin
Multilingual Plugin for Xamarin and Windows
Stars: ✭ 99 (-10%)
Mutual labels:  nuget

Statsd Client - DEPRECATED

This project is deprecated as of March 4, 2019. There's no official maintainer, and better alternatives exist. Security only related updates will be considered going forward. Currently active versions will remain on NuGet.

We suggest migrating to JustEat.StatsD, which has a very similar API to this project, plenty of additional features, and is actively maintained.

Thanks to all the contributors and your many PRs and reported issues over the years, the numerous developers that have forked or been inspired by this client, and everyone that used it successfully in production!

THIS PROJECT IS DEPRECATED

Original readme...


Build status NuGet Version

A .NET Standard compatible C# client to interface with Etsy's excellent statsd server.

Install the client via NuGet with the StatsdClient package.

Usage

At app startup, configure the Metrics class:

Metrics.Configure(new MetricsConfig
{
  StatsdServerName = "hostname",
  Prefix = "myApp.prod"
});

Start measuring all the things!

Metrics.Counter("stat-name");
Metrics.Time(() => myMethod(), "timer-name");
var result = Metrics.Time(() => GetResult(), "timer-name");
var result = await Metrics.Time(async () => await myAsyncMethod(), "timer-name");
Metrics.GaugeAbsoluteValue("gauge-name", 35);
Metrics.GaugeDelta("gauge-name", -5);
Metrics.Set("something-special", "3");

using (Metrics.StartTimer("stat-name"))
{
  // Lots of code here
}

Advanced Features

To enable these, see the MetricsConfig class discussed above.

  • UseTcpProtocol: sends metrics to statsd via TCP. While supported, UDP is recommended in most cases. If you need TCP reliability, a relay service running locally on the server which you'd send UDP to, and it would relay via TCP, is advised.

Contributing

See the Contributing guidelines.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].