Skip to content

Commit 44b2df0

Browse files
chore(instr-express): add semconv to readme (#1907)
* chore(instr-express): add semconv to readme * use actual attribute field in readme * specify the semantic-conventions package --------- Co-authored-by: Marc Pichler <[email protected]>
1 parent e29b72a commit 44b2df0

File tree

1 file changed

+10
-0
lines changed
  • plugins/node/opentelemetry-instrumentation-express

1 file changed

+10
-0
lines changed

plugins/node/opentelemetry-instrumentation-express/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,16 @@ const expressInstrumentation = new ExpressInstrumentation({
142142
});
143143
```
144144

145+
## Semantic Conventions
146+
147+
This package uses `@opentelemetry/semantic-conventions` version `1.0+`, which implements Semantic Convention [Version 1.7.0](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.7.0/semantic_conventions/README.md)
148+
149+
Attributes collected:
150+
151+
| Attribute | Short Description | Notes |
152+
| ------------ | ---------------------------------- | ----------------- |
153+
| `http.route` | The matched route (path template). | Key: `HTTP_ROUTE` |
154+
145155
## Useful links
146156

147157
- For more information on OpenTelemetry, visit: <https://opentelemetry.io/>

0 commit comments

Comments
 (0)