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

Add a new metrics indexing behavior #2

Merged
merged 1 commit into from Mar 2, 2021

Conversation

smarterclayton
Copy link
Contributor

Take job_metrics.json from release periodics and simplify into
a map where the key is a prometheus metric + optional labels
(foo{bar="baz"}) and the value is a struct with the float value
as a string (like prometheus returns) and an int64 unix timestamp
which was the timestamp of the query value. Write that map to GCS
with a key suitable for time based indexing inside the source
bucket. This index will be used to fetch metrics by job and display
comparisons in ci-search.

Take job_metrics.json from release periodics and simplify into
a map  where the key is a prometheus metric + optional labels
(foo{bar="baz"}) and the value is a struct with the float value
as a string (like prometheus returns) and an int64 unix timestamp
which was the timestamp of the query value. Write that map to GCS
with a key suitable for time based indexing inside the source
bucket. This index will be used to fetch metrics by job and display
comparisons in ci-search.
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.

None yet

1 participant