Repository navigation
Long-term metrics on the phone: lab remote_write + laptop Grafana datasource - #150
Merged
Merged
Conversation
…asource Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Rendered diff (as Argo CD renders: kustomize / Helm, against
|
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.
This adds the long-term metrics store on the phone: a second official Prometheus (3.13.2,
~/promlt,:9091) running only as a remote-write receiver, kept for 1 year or 150 GB, whichever comes first. The lab starts sending to it here; the laptop follows after a soak, as a draft PR for daytime.clusters.lab.components.monitoring.values.prometheus.prometheusSpec.remoteWrite): sends tohttp://100.80.225.15:9091/api/v1/write.job="apiserver"(about 35k of the lab's 68k series) and control-plane / runtime histograms (workqueue, scheduler, kine, storage_operation, kubelet_runtime_operations, rest_client, cnpg_pg_settings). These are causes to look at live, not to keep for a year.cluster=lab; the lab's own series and alerts are unchanged.Prometheus · long-term (phone)(uidlongterm-prometheus), added to the existingadditionalDataSourcesnext toPrometheus · phone. This needed no product change.services.shservice, restarted by the watchdog.promlt) and has an alert rulePhonePromLTDown.logrotatecovers its log.cmpconfirms they are identical).Render evidence (product render.py v0.1.5, main → this branch):
prometheus.prometheusSpec.remoteWritechanges (+23 lines).grafana.additionalDataSourceschanges (+7 lines, one entry).🤖 Generated with Claude Code