forked from open-telemetry/opentelemetry-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Semantic conventions for
up
metric on Resources. open-telemetry#1078
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
specification/metrics/semantic_conventions/resource-metrics.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Semantic conventions for Resource metrics | ||
|
||
This document describes metrics created about [Resources](../../resource/sdk.md), the entities | ||
producing telemetry in a system. | ||
|
||
**Disclaimer:** These are initial Resource metric instruments and labels, more may be added | ||
in the future. | ||
|
||
## Labels | ||
|
||
The current Resource metrics do not have any explicit labels. They SHOULD inherit the [attributes | ||
of the encapsulating](../../resource/semantic_conventions/README.md) Resource when being exported. | ||
|
||
## Metric Instruments | ||
|
||
The following metric instruments SHOULD be synthesized every time a Resource produces some | ||
telemetry. | ||
|
||
| Name | Instrument | Units | Description | | ||
|----------------------|---------------|--------------|-------------| | ||
| `resource.up` | ValueRecorder | yes/no | A value of `1` indicates the Resource is healthy, `0` if the Resource is unhealthy. | | ||
|