-
Notifications
You must be signed in to change notification settings - Fork 2
doc-week: Add OTEL metrics guide #64
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's find a way to make this available in docs.rs
.
We could include it as a section in lib.rs
docs or we could add a usage
submodule which has no API symbols, just docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, I'll go and update lib.rs
👍
## Using Metrics in Logfire Dashboards | ||
|
||
Once your metrics are being exported to Logfire, you can create dashboards and alerts: | ||
|
||
### 1. **View Metrics in Logfire** | ||
|
||
- Navigate to your Logfire project dashboard | ||
- Go to the ["Explore"](https://logfire.pydantic.dev/docs/guides/web-ui/explore/) view | ||
- Run `select * from metrics` to view all incoming metrics from your application |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d01b805
to
da44783
Compare
See also #68 where I think this can live. |
No description provided.