Re: [prometheus-users] Posting to pushgateway using prometheus go client

2024-10-08 Thread Anurupa Dhamala
The error log was " was collected before with the same name and label values " but I did manage to solve this. I had been creating a new gatherer inside the for loop, and every new gatherer is appended. So while pushing there were multiple gatherer with same metrics name and label set. I solve

Re: [prometheus-users] Re: ALERTMANAGER NOT RUNNING

2024-10-08 Thread 'Brian Candler' via Prometheus Users
Thank you for coming back with the solution. On Monday 7 October 2024 at 14:28:53 UTC+1 Chinelo Ufondu wrote: > Hello > I have been able to figure it out, the issue is that there was no issue😃, > alertmanger was running on supervisor process which is systemctl, of which > there was no need to m

Re: [prometheus-users] Posting to pushgateway using prometheus go client

2024-10-08 Thread Bjoern Rabenstein
On 05.10.24 02:24, Anurupa Dhamala wrote: > I am trying to push my metrics to a pushgateway in a go routine. But I keep > getting > ```collected metric "packet_received" { label:{name:"client_name" > value:"machine1"} counter:{value:1 created_timestamp:{seconds:1728120095 > nanos:654777418}}} w