-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: svrnm <[email protected]> Co-authored-by: Patrice Chalin <[email protected]> Co-authored-by: opentelemetrybot <[email protected]>
- Loading branch information
1 parent
c9dc338
commit 03f20df
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters