Hi,
The metrics exposed would look like below.
traefik_entrypoint_request_duration_seconds_bucket{code="200",entrypoint="https",method="GET",protocol="http",le="0.1"}
2
traefik_entrypoint_request_duration_seconds_bucket{code="200",entrypoint="https",method="GET",protocol="http",le="0.3"}
50
traefik_entrypoint_request_duration_seconds_bucket{code="200",entrypoint="https",method="GET",protocol="http",le="1.2"}
51
traefik_entrypoint_request_duration_seconds_bucket{code="200",entrypoint="https",method="GET",protocol="http",le="5"}
55
traefik_entrypoint_request_duration_seconds_bucket{code="200",entrypoint="https",method="GET",protocol="http",le="+Inf"}
55
These are exposed by traefik and not by the service.
Thanks
Eswar
On Saturday, 8 August 2020 14:27:55 UTC+2, Matthias Rampke wrote:
>
> Can you explain more what "metrics exposed by ingressroute" looks like?
> This only configures traefik; are the metrics you are looking for exposed
> by traefik or by the service that the ingressroute refers to?
>
> /MR
>
> On Fri, Aug 7, 2020, 09:27 Ishvar B <[email protected] <javascript:>>
> wrote:
>
>> Hi,
>>
>> I am trying to use auto discovery of metrics endpoints for my k8s
>> cluster. While I am able to scrape pod and service level metrics, i have
>> metrics exposed by ingressroute(traefik). So if anybody knows how to use
>> auto discovery with traefik, it would of great help.
>>
>> Thanks
>> Eswar
>>
>> --
>> 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] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/prometheus-users/4fddc1e1-98d5-4036-9cad-bd2123bec199o%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/prometheus-users/4fddc1e1-98d5-4036-9cad-bd2123bec199o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
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/bd62399c-057d-4ebb-9418-848d3dee85e4o%40googlegroups.com.