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

Update rust.md with details for using basic auth #2183

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

digitalemil
Copy link
Contributor

Important for grafana cloud users

Important for grafana cloud users
@digitalemil digitalemil requested review from a team as code owners July 28, 2023 09:37
@CLAassistant
Copy link

CLAassistant commented Jul 28, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@korniltsev korniltsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

Important for users of a secured backend: You need to provide authentication details. For **Grafana Cloud** use basic authentication. Your username is a numeric value which you can get from the Details Page for Pyroscope from your stack on grafana.com. Use the the token you can create on the same page as password. The configuration then would look similar to (Username & Password assumed to be provided as environment variables):
```rust
fn main() -> Result<()> {
std::env::set_var("RUST_LOG", "debug");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: formatting seems broken

@Rustin170506
Copy link
Contributor

@digitalemil You need to sign the cla to pass the CI check.
#2183 (comment)

@Rperry2174 Rperry2174 merged commit a16dfae into grafana:next Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants