Details
-
New Feature
-
Status: Done
-
Medium
-
Resolution: Done
-
None
-
None
-
None
-
3
-
Yes
-
Yes
-
Yes
-
[obsolete] C/S Core
Description
Requirement
Exporters which connect to Prometheus do not provide any metrics about collectors. Collector level information (such as time taken for scrape, number of metrics generated, number of unique labels generated, etc) is neither generated, nor stored anywhere.
We need to generate such metrics, like other metrics, per scrape by Prometheus.
Scope
We only target following exporters in this ticket:
- MongoDB exporter
MySQL exporterPostgres exporter
Any other exporter is out of scope for this ticket.
Acceptance Criteria
(Scope reduced for 2.29 release) - only mongodb_exporter supported.
Following metrics should be generated at exporter level:
Memory usageFile descriptors in useUptimeTotal collector execution timeExporter errorsScrape rateService availability check
(Exporter level metrics are already in place before this change)
Following metrics should be generated at collector level :
Scrape rate- Total execution time
Suggested Implementation
We should create our own fork of Golang client library. This will allow us to reuse logic for metric generation across collectors. This would also allow us to upstream our changes.
Attachments
Issue Links
- causes
-
PMM-10271 Mongodb Exporter no metrics being collected for services added using collectors flag
-
- Done
-
- relates to
-
PMM-7806 Upgrade postgres_exporter version used in pmm from 0.8.0 to 0.10.1
-
- Done
-
-
PMM-2038 Fully merge mysqld_exporter with upstream
-
- Done
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...