Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend metrics list to prometheus #24

Open
allanian opened this issue Nov 14, 2021 · 0 comments
Open

extend metrics list to prometheus #24

allanian opened this issue Nov 14, 2021 · 0 comments

Comments

@allanian
Copy link

Hello, good day, i have a question, how i can extend metrics list, what sended to prometheus?
e.g. opcache_last_restart_time.
what i get for now:
opcache_keyHits_misses{clusterName="project1", groupName="rv-site", hostName="rv-site-back04-company.com", instance="opcache-dashboard:42042", job="opcache-dashboard"} 399 opcache_keys_free{clusterName="project1", groupName="rv-site", hostName="rv-site-back04-company.com", instance="opcache-dashboard:42042", job="opcache-dashboard"} 64899 opcache_keys_usedKeys{clusterName="project1", groupName="rv-site", hostName="rv-site-back04-company.com", instance="opcache-dashboard:42042", job="opcache-dashboard"} 508 opcache_keys_usedScripts{clusterName="project1", groupName="rv-site", hostName="rv-site-back04-company.com", instance="opcache-dashboard:42042", job="opcache-dashboard"} 399 opcache_memory_free_bytes{clusterName="project1", groupName="rv-site", hostName="rv-site-back04-company.com", instance="opcache-dashboard:42042", job="opcache-dashboard"} 457799568 opcache_memory_used_bytes{clusterName="project1", groupName="rv-site", hostName="rv-site-back04-company.com", instance="opcache-dashboard:42042", job="opcache-dashboard"} 79071344 opcache_memory_wasted_bytes{clusterName="project1", groupName="rv-site", hostName="rv-site-back04-company.com", instance="opcache-dashboard:42042", job="opcache-dashboard"} 0 opcache_scripts_count{clusterName="project1", groupName="rv-site", hostName="rv-site-back04-company.com", instance="opcache-dashboard:42042", job="opcache-dashboard"} 399 scrape_duration_seconds{instance="opcache-dashboard:42042", job="opcache-dashboard"} 0.00063237 scrape_samples_post_metric_relabeling{instance="opcache-dashboard:42042", job="opcache-dashboard"} 8 scrape_samples_scraped{instance="opcache-dashboard:42042", job="opcache-dashboard"} 8 scrape_series_added{instance="opcache-dashboard:42042", job="opcache-dashboard"} 0 up{instance="opcache-dashboard:42042", job="opcache-dashboard"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant