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 victoriametrics support + possibility to define global labels for Prometheus metrics #497

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

awmackowiak
Copy link
Contributor

@awmackowiak awmackowiak commented Sep 7, 2023

Example configuration of Prometheus metrics supported by VictoraMetrics:

PROMETHEUS_ENABLE: True
PROMETHEUS_GATEWAY_PORT: 9091
PROMETHEUS_GATEWAY_JOB: vaas
PROMETHEUS_GATEWAY_LABELS: dc=dc,test=test,somelabels=labes
VICTORIAMETRICS_SUPPORT: True

Snippet of pushed metrics:

PUT /api/v1/import/prometheus/metrics/job/vaas HTTP/1.1
Accept-Encoding: identity
Content-Length: 589
Host: localhost:9091
User-Agent: Python-urllib/3.9
Content-Type: text/plain; version=0.0.4; charset=utf-8
Connection: close

# HELP queue_time_from_order_to_execute_task queue_time_from_order_to_execute_task
# TYPE queue_time_from_order_to_execute_task summary
queue_time_from_order_to_execute_task_count{dc="dc",somelabels="labes",test="test"} 1.0
queue_time_from_order_to_execute_task_sum{dc="dc",somelabels="labes",test="test"} 1.868500839918852e-05
# HELP queue_time_from_order_to_execute_task_created queue_time_from_order_to_execute_task
# TYPE queue_time_from_order_to_execute_task_created gauge
queue_time_from_order_to_execute_task_created{dc="dc",somelabels="labes",test="test"} 1.694068332621746e+09

ort + posibility to define global lebals for prometheus metrics
@ziollek ziollek merged commit b85114f into master Sep 15, 2023
1 check passed
@ziollek ziollek deleted the am_prometheus_fix_path branch September 15, 2023 05:54
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.

3 participants