Skip to content

Commit 03f20df

Browse files
svrnmchalinopentelemetrybot
authored
Add rust libraries page (#3828)
Signed-off-by: svrnm <[email protected]> Co-authored-by: Patrice Chalin <[email protected]> Co-authored-by: opentelemetrybot <[email protected]>
1 parent c9dc338 commit 03f20df

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Using instrumentation libraries
3+
linkTitle: Libraries
4+
weight: 40
5+
description: How to instrument libraries an app depends on
6+
---
7+
8+
{{% docs/languages/libraries-intro Rust %}}
9+
10+
## Use Instrumentation Libraries
11+
12+
Each instrumentation library is a [crate](https://crates.io/).
13+
14+
For example, the
15+
[instrumentation library for Actix Web](https://crates.io/crates/actix-web-opentelemetry)
16+
will automatically create [spans](/docs/concepts/signals/traces/#spans) and
17+
[metrics](/docs/concepts/signals/metrics/) based on the inbound HTTP requests.
18+
19+
For a list of available instrumentation libraries, see the
20+
[registry](/ecosystem/registry/?language=rust&component=instrumentation).

static/refcache.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@
501501
},
502502
"https://crates.io/": {
503503
"StatusCode": 206,
504-
"LastSeen": "2024-01-19T16:56:12.042658+01:00"
504+
"LastSeen": "2024-01-22T11:00:04.617082+01:00"
505505
},
506506
"https://cri-o.io/": {
507507
"StatusCode": 206,

0 commit comments

Comments
 (0)