And in my script i just added the starting command of apache_exporter like that : [image: Apache.PNG] Le mardi 10 mai 2022 à 16:17:04 UTC+2, Chaima TOUIL a écrit :
> Hi, > Thanks for your response. I checked the "scrape_samples_scraped" metric > and it gives me 48 . And i checked the "apache_up" metric and it gives me > 0. Although i have only 5 instances UP for my job "apache_exporter". > The main idea was to automate exporter starting via the entrypoint.sh in > the kubernetes pod where the exporter is installed but i had a problem of > connection refused bescause it worked with the port 80 and not the 9117. > Maybe any idea about this can resolve the main problem. > Thanks. > > Le dimanche 8 mai 2022 à 11:07:38 UTC+2, [email protected] a écrit : > >> Hi, >> >> A couple of things you could look into: >> >> * Can you not only see the target as UP on /targets, but also see the >> "up" metric for the exporter job when querying for it? If not, maybe the >> system time between your Prometheus backend and your browser frontend is >> off, although modern versions of Prometheus should show a warning about >> that in the web UI. >> * What does the "scrape_samples_scraped" metric say about the number of >> samples scraped from the Apache exporter job? >> * What does the "apache_up" metric say, in case it exists? >> >> Cheers, >> Julius >> >> >> On Fri, May 6, 2022 at 12:34 PM Chaima TOUIL <[email protected]> >> wrote: >> >>> I have prometheus target for apache exporter Up but i have no data for >>> apache metrics. Any ideas about that please? >>> >>> -- >>> 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/2705b0d5-b2dd-4155-95af-503d6df47620n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/prometheus-users/2705b0d5-b2dd-4155-95af-503d6df47620n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> >> >> -- >> Julius Volz >> PromLabs - promlabs.com >> > -- 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/d1be1aed-0cbe-45bc-830d-aedf8b73a456n%40googlegroups.com.

