Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants