On 2022-11-01 12:09, Prashant Singh wrote:
> Currently prometheus metrics types include counter, gauge, histogram,
> and summary. They are all numeric types. I would like to see if
> prometheus can support string type metric for exmplate SQL QUREY HAVE
> OUTPUT STRING OR ALPHANUMERICS
>
> I AM USING SQL_EXPORTER AGENT FOR MONITORING POSTGRES DB QUREY HAVING
> OUTPUT STRING BASED.
>
Prometheus is a metrics system, so everything is based on numeric data -
time series are collections of values representing the state at a
particular point in time.
It sounds like you are instead talking about events, which are very
different and not limited to number (e.g. logs).
Maybe it would be best to describe what you are trying to achieve?
--
Stuart Clark