Skip to content

danzel/Metrics.NET.Datadog

Repository files navigation

#Metrics.NET.Datadog Build status

https://www.nuget.org/packages/Metrics.NET.Datadog

What is the Datadog Reporter for Metrics.NET

The Metrics.NET library provides a way of instrumenting applications with custom metrics (timers, histograms, counters etc) that can be reported in various ways and can provide insights on what is happening inside a running application.

This assembly provides a mechanism to report the metrics gathered by Metrics.NET to Datadog via their Web API.

##Configuring the DatadogReporter

You only need to configure the DatadogReporter once per application start.

Metric.Config
	.WithReporting(config => config
		.WithDatadog("PutYourApiKeyHere", Environment.MachineName, "PutYourAppNameHere", TimeSpan.FromSeconds(5))
	)
	.WithAllCounters();

###Your Datadog API Token Log in to Datadog, Integrations -> APIs. You can create and manage your API keys at the top of this list.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages