Skip to content

Commit

Permalink
[chore][mdatagen] Add note about the supported types of telemetry met…
Browse files Browse the repository at this point in the history
…ric attributes (#10997)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
The context can be found
[here.](#10801 (comment))
Only a subset of attribute types are supported for `telemetry` metrics
vs. regular `metrics`. There's no instrumentation equivalent for
attributes of the type `bytes`, `slice`, and `map`.
  • Loading branch information
crobert-1 committed Sep 4, 2024
1 parent 46c76fd commit b5a97a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/mdatagen/metadata-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,5 @@ telemetry:
# Bucket boundaries are only available to set for histogram metrics.
bucket_boundaries: [double]
# Optional: array of attributes that were defined in the attributes section that are emitted by this metric.
# Note: Only the following attribute types are supported: <string|int|double|bool>
attributes: [string]

0 comments on commit b5a97a1

Please sign in to comment.