For something which stores events or arbitrary string values, I suggest you look at Loki or Elasticsearch. Loki is modelled after Prometheus and has a PromQL-inspired query language.
It's possible to expose certain string values as labels in Prometheus. However, these must be chosen from a limited set of possible values, because every time a label changes to a new value, it generates a new timeseries. If you keep changing them you will get a "cardinality explosion" and Prometheus will crash and burn. On Tuesday, 1 November 2022 at 12:09:41 UTC [email protected] 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.* > > > *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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/100f26af-a6dd-4073-b183-595cf369c609n%40googlegroups.com.

