Skip to content

Commit 3cb8d94

Browse files
authored
Merge pull request DataDog#6853 from DataDog/revert-6817-rish/add-api-distribution
Revert "Add documentation for Distribution from API"
2 parents 27a00f7 + a5c951f commit 3cb8d94

File tree

1 file changed

+22
-25
lines changed

1 file changed

+22
-25
lines changed

content/en/developers/metrics/types.md

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -274,13 +274,11 @@ Submit your HISTOGRAM type metrics from one of the following sources:
274274

275275
Submit your DISTRIBUTION type metrics from the following source:
276276

277-
| Submission Source | Submission Method (Python) | Submission Type | Datadog In-App Types |
278-
| ----------------- | ------------------------------------------------- | --------------- | -------------------- |
279-
| [API][1] | `api.Distribution.send(distributions=[...], ...)` | DISTRIBUTION | GAUGE, RATE |
280-
| [DogStatsD][2] | `dog.distribution(...)` | DISTRIBUTION | GAUGE, RATE |
277+
| Submission Source | Submission Method (Python) | Submission Type | Datadog In-App Types |
278+
| ----------------- | -------------------------- | --------------- | -------------------- |
279+
| [DogStatsD][1] | `dog.distribution(...)` | DISTRIBUTION | GAUGE, RATE |
281280

282-
[1]: /api/?lang=python#<Distribution_Metric_Example_Here>
283-
[2]: /developers/metrics/dogstatsd_metrics_submission/#distribution
281+
[1]: /developers/metrics/dogstatsd_metrics_submission/#distribution
284282

285283
{{% /tab %}}
286284
{{< /tabs >}}
@@ -289,25 +287,24 @@ Submit your DISTRIBUTION type metrics from the following source:
289287

290288
Find below a summary of all available metric submission sources and methods with the mapping between the corresponding metric submission type and the in-app types:
291289

292-
| Submission Source | Submission Method (Python) | Submission Type | Datadog In-App Types |
293-
| ----------------- | ------------------------------------------------- | --------------- | -------------------- |
294-
| [Agent check][8] | `self.count(...)` | COUNT | COUNT |
295-
| [Agent check][9] | `self.monotonic_count(...)` | COUNT | COUNT |
296-
| [Agent check][10] | `self.gauge(...)` | GAUGE | GAUGE |
297-
| [Agent check][11] | `self.histogram(...)` | HISTOGRAM | GAUGE, RATE |
298-
| [Agent check][12] | `self.rate(...)` | RATE | GAUGE |
299-
| [Agent check][13] | `self.set(...)` | SET | GAUGE |
300-
| [API][14] | `api.Metric.send(type="count", ...)`. | COUNT | COUNT |
301-
| [API][14] | `api.Metric.send(type="gauge", ...)` | GAUGE | GAUGE |
302-
| [API][14] | `api.Distribution.send(distributions=[...], ...)` | DISTRIBUTION | GAUGE, RATE |
303-
| [API][14] | `api.Metric.send(type="rate", ...)` | RATE. | GAUGE, RATE |
304-
| [DogStatsD][15] | `dog.gauge(...)` | GAUGE | GAUGE |
305-
| [DogStatsD][16] | `dog.distribution(...)` | DISTRIBUTION | GAUGE, RATE |
306-
| [DogStatsD][17] | `dog.count(...)` | COUNT | RATE |
307-
| [DogStatsD][17] | `dog.increment(...)` | COUNT | RATE |
308-
| [DogStatsD][17] | `dog.decrement(...)` | COUNT | RATE |
309-
| [DogStatsD][18] | `dog.set(...)` | SET | GAUGE |
310-
| [DogStatsD][19] | `dog.histogram(...)` | HISTOGRAM | GAUGE, RATE |
290+
| Submission Source | Submission Method (Python) | Submission Type | Datadog In-App Types |
291+
| ----------------- | ------------------------------------ | --------------- | -------------------- |
292+
| [Agent check][8] | `self.count(...)` | COUNT | COUNT |
293+
| [Agent check][9] | `self.monotonic_count(...)` | COUNT | COUNT |
294+
| [Agent check][10] | `self.gauge(...)` | GAUGE | GAUGE |
295+
| [Agent check][11] | `self.histogram(...)` | HISTOGRAM | GAUGE, RATE |
296+
| [Agent check][12] | `self.rate(...)` | RATE | GAUGE |
297+
| [Agent check][13] | `self.set(...)` | SET | GAUGE |
298+
| [API][14] | `api.Metric.send(type="count", ...)` | COUNT | COUNT |
299+
| [API][14] | `api.Metric.send(type="gauge", ...)` | GAUGE | GAUGE |
300+
| [API][14] | `api.Metric.send(type="rate", ...)` | RATE | RATE |
301+
| [DogStatsD][15] | `dog.gauge(...)` | GAUGE | GAUGE |
302+
| [DogStatsD][16] | `dog.distribution(...)` | DISTRIBUTION | GAUGE, RATE |
303+
| [DogStatsD][17] | `dog.count(...)` | COUNT | RATE |
304+
| [DogStatsD][17] | `dog.increment(...)` | COUNT | RATE |
305+
| [DogStatsD][17] | `dog.decrement(...)` | COUNT | RATE |
306+
| [DogStatsD][18] | `dog.set(...)` | SET | GAUGE |
307+
| [DogStatsD][19] | `dog.histogram(...)` | HISTOGRAM | GAUGE, RATE |
311308

312309
## Further reading
313310

0 commit comments

Comments
 (0)