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

Adding OpenTelemetry tracing #41

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Adding OpenTelemetry tracing #41

wants to merge 12 commits into from

Conversation

djw8605
Copy link
Collaborator

@djw8605 djw8605 commented Feb 7, 2023

No description provided.

main.go Outdated
@@ -219,6 +231,41 @@ func DoStashCPSingle(sourceFile string, destination string, methods []string, re
}
}()

exporter, err := otlptrace.New(
context.Background(),
otlptracehttp.NewClient(otlptracehttp.WithEndpoint("osdf-oltp.nrp-nautilus.io:443")),
Copy link

Choose a reason for hiding this comment

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

Can we register a osg-htc.org hostname for this? I'm wary of leaking implementation hostnames into source code.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yup, this is very much a proof-of-concept pull request. The plan is to move it over to tiger, but yes, we will have an osg-htc hostname.

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.

2 participants