@sentry/junior-datadog 0.303.0 → 0.305.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-datadog",
3
- "version": "0.303.0",
3
+ "version": "0.305.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -81,6 +81,13 @@ Datadog metric query strings follow the usual metric explorer shape:
81
81
 
82
82
  Use `metrics search` or `metrics list` to find names, `metrics metadata get` for metadata, and `metrics tags list` for tag dimensions before querying when needed.
83
83
 
84
+ ### Counting events in a distribution
85
+
86
+ Before you count events, run `metrics metadata get` and read the metric type. For a `distribution`:
87
+
88
+ - `count:` returns the number of recorded values. Use it to count events.
89
+ - `sum:` adds the recorded values. It is not a count. It changes when the values change, even when the number of events stays the same.
90
+
84
91
  ## Time windows
85
92
 
86
93
  - For "right now" questions, default to the last 15 minutes.