Skip to content

About

A .NET API for Datadog

Resources

Contributing

Security policy

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

69 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT

NuGet version

Codacy Badge

PanoramicData.Datadog.Api

A .NET API for Datadog

Unit Tests

To run unit tests, set up your unit test User secrets to match the usersecrets.example.json file.

Usage

using Datadog.Api;

var client = new DatadogClient(new()
{
	ApiKey = "API_KEY",
	ApplicationKey = "APPLICATION_KEY"
});

var users = await client.Users.GetAllAsync();

Filtered requests

Endpoints that accept query filters take a request object:

var metrics = await client.Metrics.GetMetricsAsync(
    new GetMetricsRequest
    {
        FilterConfigured = true,
        FilterMetricType = MetricType.Gauge,
        WindowSeconds = 3600
    },
    cancellationToken);

The older overloads that took each filter as an optional parameter are obsolete and will be removed in 3.0. They produce identical requests, so migration is mechanical.

About

A .NET API for Datadog

Resources

Contributing

Security policy

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages