Skip to content

Commit

Permalink
Add rust libraries page (#3828)
Browse files Browse the repository at this point in the history
Signed-off-by: svrnm <[email protected]>
Co-authored-by: Patrice Chalin <[email protected]>
Co-authored-by: opentelemetrybot <[email protected]>
  • Loading branch information
3 people authored Feb 2, 2024
1 parent c9dc338 commit 03f20df
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions content/en/docs/languages/rust/libraries.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Using instrumentation libraries
linkTitle: Libraries
weight: 40
description: How to instrument libraries an app depends on
---

{{% docs/languages/libraries-intro Rust %}}

## Use Instrumentation Libraries

Each instrumentation library is a [crate](https://crates.io/).

For example, the
[instrumentation library for Actix Web](https://crates.io/crates/actix-web-opentelemetry)
will automatically create [spans](/docs/concepts/signals/traces/#spans) and
[metrics](/docs/concepts/signals/metrics/) based on the inbound HTTP requests.

For a list of available instrumentation libraries, see the
[registry](/ecosystem/registry/?language=rust&component=instrumentation).
2 changes: 1 addition & 1 deletion static/refcache.json
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@
},
"https://crates.io/": {
"StatusCode": 206,
"LastSeen": "2024-01-19T16:56:12.042658+01:00"
"LastSeen": "2024-01-22T11:00:04.617082+01:00"
},
"https://cri-o.io/": {
"StatusCode": 206,
Expand Down

0 comments on commit 03f20df

Please sign in to comment.