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

Feature/victoria metrics support #21

Merged
merged 5 commits into from
Jul 30, 2024
Merged

Conversation

luissimas
Copy link
Owner

@luissimas luissimas commented Jul 27, 2024

Adds support for using VictoriaMetrics as a storage backend.

  • Write metrics to the new storage
  • Provide a Grafana dashboard
  • Document usage

Closes #20

@codecov-commenter
Copy link

codecov-commenter commented Jul 27, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 56 lines in your changes missing coverage. Please review.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Files Coverage Δ
internal/storage/fake.go 33.33% <0.00%> (-6.67%) ⬇️
internal/collector/collector.go 61.66% <0.00%> (-2.13%) ⬇️
internal/config/config.go 45.61% <0.00%> (-0.54%) ⬇️
main.go 0.00% <0.00%> (ø)
internal/storage/influxdb.go 0.00% <0.00%> (ø)
internal/storage/victoriametrics.go 0.00% <0.00%> (ø)

Adds support for using VictoriaMetrics as a storage backend. The metrics
are encoded using the InfluxDB line protocol and written to the remote
VictoriaMetrics write endpoint. Using the InfluxDB line protocol allows
for specifying a timestamp when writing the metrics, enabling
backfilling of historical metrics.
Adds error handling when writing metrics to the storage.
@luissimas luissimas force-pushed the feature/victoria-metrics-support branch from d2e508b to acae8be Compare July 29, 2024 10:38
Adds a Grafana dashboard querying the exporter data from a PromQL
source. Currently this source is VictoriaMetrics, but the PromQL
compatibility enables Prometheus use in the future.
Adds documentation and examples regarding the setup with a
VictoriaMetrics storage backend.
@luissimas luissimas merged commit 909bcce into main Jul 30, 2024
5 checks passed
@luissimas luissimas deleted the feature/victoria-metrics-support branch July 30, 2024 11:12
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.

Add VictoriaMetrics support
2 participants