[tmpnet] Add check for collection of logs and metrics to custom github action#3740
Merged
StephenButtolph merged 8 commits intomasterfrom Mar 4, 2025
Merged
Conversation
ab202c2 to
fd27d90
Compare
5 tasks
3ec85e1 to
2e6404a
Compare
91b64a7 to
4dce5a1
Compare
453b332 to
e4243fc
Compare
aaronbuchwald
approved these changes
Feb 24, 2025
| github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= | ||
| github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= | ||
| github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= | ||
| github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA= |
Collaborator
There was a problem hiding this comment.
Why is go.sum changed with no corresponding change?
Contributor
Author
There was a problem hiding this comment.
I think it's because of my use of the prometheus client. I didn't add any deps but the go mod job failed and this was the result of running 'go mod tidy'.
4dce5a1 to
1a5222c
Compare
198b68f to
049efef
Compare
06869f7 to
e801d02
Compare
049efef to
a713bbc
Compare
e801d02 to
284d898
Compare
a713bbc to
d2305d5
Compare
456b45d to
a9e3433
Compare
d2305d5 to
ffc83d9
Compare
a9e3433 to
9c408ff
Compare
ffc83d9 to
fb10dea
Compare
fb10dea to
1d3a5f9
Compare
StephenButtolph
approved these changes
Mar 4, 2025
bcb258c to
6714c80
Compare
cam-schultz
pushed a commit
that referenced
this pull request
Mar 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why this should be merged
Adds checks to the run-monitored-tmpnet-cmd custom github action that verifies that logs were collected to loki and metrics were collected to prometheus for the job. A failing check will fail the job, ensuring that collection of logs and metrics doesn't silently fail to occur. This should also make reuse easier since any configuration issue will be more obvious.
How this works
tmpnetctl check-metricsto enable querying prometheus for metrics labeled for a github runtmpnetctl check-logsto enable querying loki for logs labeled for a github runHow this was tested
tmpnetctl check-metricspasses for a network UUID for which metrics existtmpnetctl check-metricsfails for a non-existent network UUIDNeed to be documented in RELEASES.md?
N/A
TODO