sdkagent

datadogpy API reference

94 public APIs from datadogpy (DataDog/datadogpy) — 68 classes, 5 functions, 21 methods. Signatures extracted by static analysis of the actual source.

Repository: DataDog/datadogpy

KindCount
Classes68
Functions5
Methods21

API list

classdatadog.api.api_client.APIClient
Datadog API client: format and submit API calls to Datadog.
classdatadog.api.aws_integration.AwsIntegration
A wrapper around AWS Integration API.
classdatadog.api.aws_log_integration.AwsLogsIntegration
A wrapper around AWS Logs API.
classdatadog.api.azure_integration.AzureIntegration
A wrapper around Azure integration API.
classdatadog.api.comments.Comment
A wrapper around Comment HTTP API.
classdatadog.api.dashboard_list_v2.DashboardListV2
A wrapper around Dashboard List HTTP API.
classdatadog.api.dashboard_lists.DashboardList
A wrapper around Dashboard List HTTP API.
classdatadog.api.dashboards.Dashboard
A wrapper around Dashboard HTTP API.
classdatadog.api.distributions.Distribution
A wrapper around Distribution HTTP API
classdatadog.api.downtimes.Downtime
A wrapper around Monitor Downtiming HTTP API.
classdatadog.api.events.Event
A wrapper around Event HTTP API.
methoddatadog.api.events.Event.create(attach_host_name=True, method='POST', id=None, params=None, **body)
Post an event.
classdatadog.api.exceptions.ApiError
Datadog returned an API error (known HTTPError).
classdatadog.api.exceptions.ApiNotInitialized
No API key is set
classdatadog.api.exceptions.ClientError
HTTP connection to Datadog endpoint is not possible.
classdatadog.api.exceptions.DatadogException
Base class for Datadog API exceptions.
classdatadog.api.exceptions.HTTPError
Datadog returned a HTTP error.
classdatadog.api.exceptions.HttpBackoff
Backing off after too many timeouts.
classdatadog.api.exceptions.HttpTimeout
HTTP connection timeout.
classdatadog.api.exceptions.ProxyError
HTTP connection to the configured proxy server failed.
funcdatadog.api.format.format_points(points)
Format `points` parameter.
classdatadog.api.gcp_integration.GcpIntegration
A wrapper around GCP integration API.
classdatadog.api.graphs.Embed
A wrapper around Embed HTTP API.
methoddatadog.api.graphs.Embed.enable(embed_id)
Enable a specified embed.
methoddatadog.api.graphs.Embed.revoke(embed_id)
Revoke a specified embed.
classdatadog.api.graphs.Graph
A wrapper around Graph HTTP API.
methoddatadog.api.graphs.Graph.status(snapshot_url)
Returns the status code of snapshot.
classdatadog.api.hosts.Host
A wrapper around Host HTTP API.
methoddatadog.api.hosts.Host.mute(host_name, **body)
Mute a host.
methoddatadog.api.hosts.Host.unmute(host_name)
Unmute a host.
classdatadog.api.hosts.Hosts
A wrapper around Hosts HTTP API.
methoddatadog.api.hosts.Hosts.get_all(**params)
Get all hosts.
classdatadog.api.http_client.HTTPClient
An abstract generic HTTP client.
classdatadog.api.http_client.URLFetchClient
HTTP client based on Google App Engine `urlfetch` module.
classdatadog.api.http_client.Urllib3Client
HTTP client based on 3rd party `urllib3` module.
classdatadog.api.infrastructure.Infrastructure
A wrapper around Infrastructure HTTP API.
methoddatadog.api.infrastructure.Infrastructure.search(**params)
Search for entities in Datadog.
classdatadog.api.logs.Logs
A wrapper around Log HTTP API.
classdatadog.api.metadata.Metadata
A wrapper around Metric Metadata HTTP API
classdatadog.api.metrics.Metric
A wrapper around Metric HTTP API
classdatadog.api.monitors.Monitor
A wrapper around Monitor HTTP API.
methoddatadog.api.monitors.Monitor.get(id, **params)
Get monitor's details.
methoddatadog.api.monitors.Monitor.get_all(**params)
Get all monitor details.
methoddatadog.api.monitors.Monitor.mute(id, **body)
Mute a monitor.
methoddatadog.api.monitors.Monitor.mute_all()
Globally mute monitors.
methoddatadog.api.monitors.Monitor.search(**params)
Search monitors.
methoddatadog.api.monitors.Monitor.search_groups(**params)
Search monitor groups.
methoddatadog.api.monitors.Monitor.unmute(id, **body)
Unmute a monitor.
classdatadog.api.permissions.Permissions
A wrapper around Tag HTTP API.
classdatadog.api.resources.ActionAPIResource
Actionable API Resource
classdatadog.api.resources.ActionAPISyntheticsResource
Actionable Synthetics API Resource
classdatadog.api.resources.AddableAPISubResource
Addable API Sub-Resource
classdatadog.api.resources.CreateableAPIResource
Creatable API Resource
classdatadog.api.resources.CustomUpdatableAPIResource
Updatable API Resource with custom HTTP Verb
classdatadog.api.resources.DeletableAPIResource
Deletable API Resource
classdatadog.api.resources.DeletableAPISubResource
Deletable API Sub-Resource
classdatadog.api.resources.GetableAPIResource
Getable API Resource
classdatadog.api.resources.ListableAPIResource
Listable API Resource
classdatadog.api.resources.ListableAPISubResource
Listable API Sub-Resource
classdatadog.api.resources.SearchableAPIResource
Fork of ListableAPIResource class with different method names
classdatadog.api.resources.UpdatableAPIResource
Updatable API Resource
classdatadog.api.resources.UpdatableAPISubResource
Updatable API Sub-Resource
classdatadog.api.resources.UpdatableAPISyntheticsResource
Update Synthetics resource
classdatadog.api.resources.UpdatableAPISyntheticsSubResource
Update Synthetics sub resource
classdatadog.api.roles.Roles
A wrapper around Tag HTTP API.
classdatadog.api.screenboards.Screenboard
A wrapper around Screenboard HTTP API.
classdatadog.api.security_monitoring_rules.SecurityMonitoringRule
A wrapper around Security Monitoring Rule API.
classdatadog.api.security_monitoring_signals.SecurityMonitoringSignal
A wrapper around Security Monitoring Signal API.
classdatadog.api.service_checks.ServiceCheck
A wrapper around ServiceCheck HTTP API.
classdatadog.api.service_level_objectives.ServiceLevelObjective
A wrapper around Service Level Objective HTTP API.
methoddatadog.api.service_level_objectives.ServiceLevelObjective.delete(id, **params)
Delete a specific SLO.
methoddatadog.api.service_level_objectives.ServiceLevelObjective.get(id, **params)
Get a specific SLO details.
methoddatadog.api.service_level_objectives.ServiceLevelObjective.search(**params)
Search SLOs.
classdatadog.api.synthetics.Synthetics
A wrapper around Sythetics HTTP API.
methoddatadog.api.synthetics.Synthetics.get_all_tests(**params)
Get all tests' details.
methoddatadog.api.synthetics.Synthetics.get_test(id, **params)
Get test's details.
classdatadog.api.tags.Tag
A wrapper around Tag HTTP API.
classdatadog.api.timeboards.Timeboard
A wrapper around Timeboard HTTP API.
classdatadog.dogstatsd.base.TagList
A list subclass that calls on_change() after any mutation.
classdatadog.dogstatsd.container.UnresolvableContainerID
Unable to get container ID from cgroup.
classdatadog.dogstatsd.route.UnresolvableDefaultRoute
Unable to resolve system's default route.
classdatadog.threadstats.events.EventsAggregator
A simple event aggregator
classdatadog.threadstats.metrics.Counter
A metric that tracks a counter value.
classdatadog.threadstats.metrics.Distribution
A distribution metric.
classdatadog.threadstats.metrics.Gauge
A gauge metric.
classdatadog.threadstats.metrics.Histogram
A histogram metric.
methoddatadog.threadstats.metrics.Metric.add_point(value)
Add a point to the given metric.
classdatadog.threadstats.metrics.Set
A set metric.
classdatadog.threadstats.metrics.Timing
A timing metric.
funcdatadog.util.compat.is_p3k()
Assert that Python is version 3 or higher.
funcdatadog.util.config.get_os()
Human-friendly OS name
funcdatadog.util.config.get_pkg_version()
Resolve `datadog` package version.
funcdatadog.util.config.get_version()
Resolve `datadog` package version.
classdatadog.util.hostname.EC2
Retrieve EC2 metadata

About this data

These signatures were extracted from the public source of DataDog/datadogpy using Python's ast module. Argument names, default values, type annotations and return types are taken verbatim from the code. Implementation bodies are never stored. See how it works for details.

Back to all 805 libraries