Questions tagged [prometheus-pushgateway]
Pushgateway is part of the official prometheus ecosystem. You don't need to include the tag prometheus unless the question relates to metrics collection. Please, check the official documentation of PushGateway before asking a question.
prometheus-pushgateway
77
questions
0
votes
0
answers
32
views
Spring Boot Prometheus PushGatewayManager: Unable to push metrics due to SocketTimeoutException
I'm encountering an issue with my Spring Boot application where it fails to push metrics to Prometheus Pushgateway. The issue is happening intermettently
The error message indicates a ...
0
votes
0
answers
19
views
Is there a proxy to distribute flink metrics into different pushgateway instance?
In fink-conf.yaml, there only one pushgateway could set, when sigle flink conf file is used by throunds of flink task, the one pushgateway will crash due to memory out of limit. So, is there a way ...
0
votes
0
answers
36
views
How to create alert when prometheus data is discontinuous
I have a prometheus metrics with type counter. it is called job_failure_counter: if a job fails, the application will increment the metrics by one and send it to pushgateway of prometheus, otherwise ...
0
votes
0
answers
39
views
Prometheus - Discovering remote apps
I have a type of remote app (.NET 8 console apps) that I want a Prometheus instance to discover/scrape.
Apps are short- and long-lived (seconds to days)
Many instances can run simultaneously
Are ...
1
vote
0
answers
130
views
How to fill the Prometheus with test data?
I run local Prometheus in Docker. How I can fill it with test data?
For instance, I need to push the data of my_metric{my_label="label_value"} with pairs of timestamp and data like the ...
0
votes
1
answer
221
views
send metrics from windows server to pushgateway prometheus
i have configured pushgateway which is up and running. I have windows server i have configured script which would count rest api numbers from log (just 4 digit numbers) and save it in text file. I ...
0
votes
1
answer
73
views
k8s Prometheus pushgateway basic auth error
I'm using prometheus-pushgateway helm chart with the latest version 2.6.0
I've configured basic auth with this guide, but for some reason it says that my credentials are incorrect
Below is ingress ...
0
votes
1
answer
296
views
Unable to delete metrics with API from Prometheurs Pushgateway on Kubernetes Cluster
Problem Description:
I am using a Prometheurs Pushgateway on a Kubernetes cluster, and I am experiencing an issue when trying to delete metrics. When the metrics on the Pushgateway increase, it ...
0
votes
0
answers
534
views
"text format parsing error in line 1: unexpected end of input stream" error while pushing metrics
I am trying to push the metrics from the value I derived from the zuul logs in ansible playbook. Below is the code:
name: Push AF Upload metrics
win_shell: >
curl -X POST --netrc -H "Content-...
0
votes
0
answers
146
views
How does Thanos pull metrics from PushGateway?
I have a metric: my_metric{date="", checker="", host=""}
For some business reason, the date label may be updated everyday. That means, suppose I have two metrics on 2023-...
0
votes
1
answer
698
views
Prometheus and Push Gateway how to keep state of incremental value over distributed processes
I am dealing with many short lived same jobs (many instances of the same process per hour), for which Prometheus does not have time to scrape, which is a valid use-case for the push gateway
My use ...
2
votes
2
answers
318
views
What is the proper way to update Prometheus counters from goroutine?
I have a function, which handles some events:
func (h *Handler) OnEvent(e *Event) {
log.Printf("%s, %s", e.Label, e.Type)
}
I want to create a Prometheus counter which will tick on each ...
2
votes
1
answer
579
views
Why Multiple PushGateway may cause some problems, such as data inconsistency?
I have read an article about multiple pushgateway instances may cause data confusion. But I don't understand how it happen.
"When the same indicator data is pushed from different Pushgateway ...
0
votes
1
answer
150
views
Gauge values in Chronosphere Pushgateway only last for a couple of minutes
I have a hourly batch jobs in which I defined a gauge metrics where I'd set_to_current_time at certain time in the program.
However when I see it in chronosphere, it will show with gaps in the graph ...
1
vote
1
answer
627
views
PromQL, Grafana - Count how many times metric's labels values has changed
I'm trying to count how many times Metric_x changed it's labels.
In Prometheus I have 4 metrics: Metric_1, Metric_2, Metric_3, Metric_4.
If I use the query {__name__=~"Metric_\d"}, I get the ...