-
Notifications
You must be signed in to change notification settings - Fork 24
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
Emit map as an OpenTelemetry metric #141
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
Thank you @smithclay! Looks overall great, will take a closer look and comment more thoroughly after the weekend :) Have a great one! |
85addad
to
8a9e080
Compare
I have read and understood the CLA and hereby agree to its terms by making this Pull Request Comment. |
2f1ffe6
to
be9c7df
Compare
This is awesome @smithclay ! I hear you on reusing the names in the service graph connector component – and I'm fine with that for now! – but it certainly seems like we'll want to rename them in some way (since these are not part of that component... and it doesn't seem to follow many current conventions!). One sort of related question I had: can we do better than a "counter"? Maybe it's worth discussing this in real time, but there are some benefits if we can use an updown counter or (maybe?) a gauge – though it we might not have exactly the right data to make those happen. Anyway, maybe chalk this question up as "spoons wants to better understand how we can aggregate these data points." |
@smithclay I commented on the PR :) |
804725b
to
fe6c234
Compare
Just to recap an offline conversation: for now, going with Counter since that's at least consistent with how the |
42da5b3
to
cf4f4ae
Compare
Approved! Thank you @smithclay and @MadVikingGod :) I'm still struggling with getting the new end-to-end tests running on a fork. I was hoping to use GitHub Container Registry to hold the Docker images that would run in the Minikube running in the end-to-end tests, but looks like the GITHUB_TOKEN created by GitHub Actions for GHCR in forks can only receive "read" permissions (even to the author's own GHCR), so this isn't gonna work - the CI won't be able to push the images to GHCR. I'll come up with another solution soon to let the CI run the end-to-end test. |
Head branch was pushed to by a user without write access
Description
This emits map data as an OpenTelemetry metric. Purpose is to (optionally) allow exporting edge data in OpenTelemetry format to third party tools (including Prometheus) or solutions.
Open questions
References
Testing
I've pushed a build of this PR to my public Dockerhub. It can be installed using the following helm command and data can be sent to a Lightstep project by injecting the environment variable below. The standard OTEL SDK env vars are used.
helm upgrade network-mapper otterize/network-mapper -n otterize-system --set debug=true --set mapper.repository=smithclay --set mapper.tag=latest --set mapper.pullPolicy=Always --install
Checklist