Skip to content

Commit

Permalink
Merge branch 'main' into gcp-cloud-run-service-version
Browse files Browse the repository at this point in the history
  • Loading branch information
damemi authored May 1, 2023
2 parents 4f92d44 + abf540c commit f2d4075
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions specification/metrics/semantic_conventions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ Conventions](../../resource/semantic_conventions/README.md).

## General Guidelines

**Status**: [Experimental](../../document-status.md)

Metric names and attributes exist within a single universe and a single
hierarchy. Metric names and attributes MUST be considered within the universe of
all existing metric names. When defining new metric names and attributes,
Expand Down Expand Up @@ -125,12 +127,16 @@ to the processes then to represent the count of the processes we can have a metr

## General Metric Semantic Conventions

**Status**: [Mixed](../../document-status.md)

The following semantic conventions aim to keep naming consistent. They
provide guidelines for most of the cases in this specification and should be
followed for other instruments not explicitly defined in this document.

### Instrument Naming

**Status**: [Experimental](../../document-status.md)

- **limit** - an instrument that measures the constant, known total amount of
something should be called `entity.limit`. For example, `system.memory.limit`
for the total amount of memory on a system.
Expand Down Expand Up @@ -209,6 +215,8 @@ implementation detail. Both choices are compliant with this specification.

### Consistent UpDownCounter timeseries

**Status**: [Experimental](../../document-status.md)

When recording `UpDownCounter` metrics, the same attribute values used to record an increment SHOULD be used to record
any associated decrement, otherwise those increments and decrements will end up as different timeseries.

Expand Down

0 comments on commit f2d4075

Please sign in to comment.