Skip to content

feat: otlp #54

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

Closed
wants to merge 7 commits into from
Closed

feat: otlp #54

wants to merge 7 commits into from

Conversation

prestwich
Copy link
Member

@prestwich prestwich commented Feb 12, 2025

cc @rswanson adds the following:
env configuration

const OTEL_ENDPOINT: &str = "OTEL_ENDPOINT";
const OTEL_PROTOCOL: &str = "OTEL_PROTOCOL";
const OTEL_LEVEL: &str = "OTEL_LEVEL";
const OTEL_TIMEOUT: &str = "OTEL_TIMEOUT";
const OTEL_ENVIRONMENT: &str = "OTEL_ENVIRONMENT_NAME";

endpoint: a URL. if configured, starts the exporter. omit for off.
protocol: legal values are grpc, json, binary. defaults to json
level: legal values are off, error, warn, info, debug, trace. defaults to trace
timeout: milliseconds as u64. defaults to 1000
environment: a string. optional. any value. name like "prod" or "dev" recommended. defaults to "unknown"

appears from groundcover docs that the following should be used

endpoint = {inCloud_Site}
protocol = grpc

@prestwich prestwich self-assigned this Feb 12, 2025
Copy link
Contributor

@dylanlott dylanlott left a comment

Choose a reason for hiding this comment

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

Approved 🍶

bin/builder.rs Outdated
@@ -50,19 +66,19 @@ async fn main() -> eyre::Result<()> {

select! {
_ = submit_jh => {
tracing::info!("submit finished");
tracing::info!("submit is cooked");
Copy link
Contributor

Choose a reason for hiding this comment

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

👩‍🍳

Copy link
Member

@Evalir Evalir left a comment

Choose a reason for hiding this comment

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

dank.

@prestwich
Copy link
Member Author

closing as #55 is better

@prestwich prestwich closed this Feb 18, 2025
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.

4 participants