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

2022-11-01 Thread Brian Candler
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 prashan...@gmail.com 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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/100f26af-a6dd-4073-b183-595cf369c609n%40googlegroups.com.


[prometheus-users] Re: BlackBox Exporter issue with DNS Resolution and Timeout error

2022-11-01 Thread b...@ritcey.com
I'm assuming that 'exmaple.com' is meant to be 'example.com', as in that's 
what you're probing?  

Are those literal cut-and-pastes?

'example.com' will in fact resolve, and has a stub website, which may be 
useful for testing.

On Saturday, October 29, 2022 at 7:58:55 AM UTC-4 Brian Candler wrote:

> On Saturday, 29 October 2022 at 11:27:39 UTC+1 kabir...@gmail.com wrote:
>
>> ~ $ nslookup exmaple.com
>> Server: 10.96.5.5
>> Address:10.96.5.5:53
>>
>> Non-authoritative answer:
>> Name:   exmaple.com
>> Address: 104.18.144.11
>> Name:   exmaple.com
>> Address: 104.18.145.11
>>
>> *** Can't find exmaple.com: No answer
>>
>>
> That's a very mangled response: you seem to be showing a success response 
> and a failure response at the same time.  Can you show the output of "dig 
> exmaple.com" instead?
>
> You can also try tcpdump'ing your DNS traffic between your pod and your 
> DNS cache.
>
>>

-- 
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/68afc6fc-8302-4fc8-80e0-8e1e7525215dn%40googlegroups.com.


[prometheus-users] Local Path Provisioner Metrics Exporter

2022-11-01 Thread Kishore kumar saha
Hello All,

Can anyone please help me out  to create a custom metrics exporter 
for Local Path Provisioner.  Since the local-path-provisioner is 
a hostPath-based solution, It does not support any integrations to generate 
metrics such as kubelet_volume_stats_used_bytes 
or kubelet_volume_stats_capacity_bytes. We need to expose it over http (on 
specific port)

If anyone already using it, could you please share.

Thanks,
Kishore

-- 
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/82b80dce-c740-43cf-a0dc-48e5095e4772n%40googlegroups.com.


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.