Re: [prometheus-developers] is this a valid prometheus exposition?

2023-06-26 Thread Julius Volz
Hi Vishwanath, This is not valid for the text exposition format, since the same time series is repeated multiple times. See https://prometheus.io/docs/instrumenting/exposition_formats/#text-based-format - "Each line must have a unique combination of a metric name and labels. Otherwise, the

[prometheus-developers] is this a valid prometheus exposition?

2023-06-23 Thread Vishwanath N
hi all - is below a valid prometheus exposition for a gauge - pls note that except time stamps and values for the datapoints the label and label values are the same . if this is a valid gauge, what will be the behavior when honor_timestamps = true ? # TYPE my_gauge gauge my_gauge 1