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

2024-10-08 Thread Anurupa Dhamala
ay: %s\n", err ) } else { fmt.Println("Metrics pushed successfully.") } i++ } } } On Tuesday, October 8, 2024 at 4:44:12 PM UTC+5:45 Bjoern Rabenstein wrote: > On 05.10.24 02:24, Anurupa Dhamala wrote: > > I am

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

2024-10-05 Thread Anurupa Dhamala
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}}} was collected before with the same name and label va