Skip to main content

span_metrics

Overview

Namespan_metrics
TypeResource
Iddatadog.span_metrics.span_metrics

Fields

NameDatatypeDescription
idstringThe name of the span-based metric.
attributesobjectThe object describing a Datadog span-based metric.
typestringThe type of resource. The value should always be spans_metrics.

Methods

NameAccessible byRequired ParamsDescription
get_spans_metricSELECTmetric_id, dd_siteGet a specific span-based metric from your organization.
list_spans_metricsSELECTdd_siteGet the list of configured span-based metrics with their definitions.
create_spans_metricINSERTdata__data, dd_siteCreate a metric based on your ingested spans in your organization.
Returns the span-based metric object from the request body when the request is successful.
delete_spans_metricDELETEmetric_id, dd_siteDelete a specific span-based metric from your organization.
_get_spans_metricEXECmetric_id, dd_siteGet a specific span-based metric from your organization.
_list_spans_metricsEXECdd_siteGet the list of configured span-based metrics with their definitions.
update_spans_metricEXECmetric_id, data__data, dd_siteUpdate a specific span-based metric from your organization.
Returns the span-based metric object from the request body when the request is successful.