Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rust libraries page #3828

Merged
merged 10 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
cijothomas marked this conversation as resolved.
Show resolved Hide resolved
---

{{% 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
Loading