* feat: update flux to latest head Flux has updated some dependencies, including prometheus. Prometheus has changed in some incompatible ways. Update the flux dependency to a newer version with the updated prometheus dependency and apply some small fixes to make everything build. This is in preparation for a flux release later in the week. The biggest change is in some tests that were using runtime.DeepEqual to check the correctness of prometheus metrics. The internals of these types have changed such that this is not a safe thing to do anymore. The test now verifies the string representations, as produced by String(), match. * fix: update CI script The scripts/ci/check-system-go-matches-go-mod.sh is failing because newer go toolchains include the bugfix version in go.mod's go directive. Update the script to check the major and minor versions reported by both tools match. |
||
---|---|---|
.. | ||
README.md | ||
handler.go | ||
handler_test.go | ||
metrics.go | ||
push.go | ||
push_test.go | ||
reporter.go | ||
reporter_test.go | ||
store.go | ||
telemetry_test.go | ||
timestamps.go | ||
timestamps_test.go |
README.md
Telemetry Data
Telemetry is first collected by retrieving prometheus data from a Gatherer. Next, the collected data is filtered by matching a subset of prometheus families. Finally, the data is transmitted to a prometheus push gateway handler.
The handler enriches the metrics with the timestamp when the data is received.