Skip to content

Commit

Permalink
update syntax.md with initial metrics syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmoessis committed Jan 25, 2022
1 parent a17ce73 commit cbdf84e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion semantic-conventions/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ All attributes are lower case.
groups ::= semconv
| semconv groups
semconv ::= id [convtype] brief [note] [prefix] [extends] [stability] [deprecated] attributes [constraints] [specificfields]
semconv ::= id [convtype] brief [note] [prefix] [extends] [stability] [deprecated] attributes [constraints] [specificfields] [metrics]
id ::= string
Expand Down Expand Up @@ -119,6 +119,18 @@ events ::= id {id} # MUST point to an existing event group
name ::= string
instrument ::= "Counter"
| "AsynchronousCounter"
| "Histogram"
| "AsynchronousGauge"
| "UpDownCounter"
| "AsynchronousUpDownCounter"
units ::= string
metric ::= id instrument units brief
metrics ::= {metrics}
```

## Semantics
Expand Down

0 comments on commit cbdf84e

Please sign in to comment.