Re: [prometheus-users] Is there any plan for prometheus to support string type metrics

2022-11-01 Thread Stuart Clark

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

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/026361116bfe3e6e25f3494fe19d5816%40Jahingo.com.


[prometheus-users] Is there any plan for prometheus to support string type metrics

2022-11-01 Thread Prashant Singh
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.*


*Thanks*
*Prashant Singh*

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/45ac996c-d939-4e0f-a510-bc7c2f02dcccn%40googlegroups.com.