Daniel Swarbrick
abc1816f37
Bump exporter-toolkit and fix associated test ( #873 )
...
Bump exporter-toolkit dependency to v0.12.0 and fix a (IMHO overly
brittle) test that breaks due to a cosmetic change in the landing page.
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
2024-09-19 11:45:45 -07:00
Martin Montes
f3d4ccd5ca
Support for prometheus scrape timeout in probe endpoint ( #828 )
...
Signed-off-by: Martin Montes <martin11lrx@gmail.com>
2024-04-10 17:35:06 +02:00
SuperQ
878189f836
Update Prometheus Go modules
...
* Update Prometheus Go modules to latest.
* Fixup landing page in test.
Signed-off-by: SuperQ <superq@gmail.com>
2023-06-02 08:22:51 +02:00
SuperQ
0fbab6f843
Update exporter-toolkit
...
Update to the latest exporter-toolkit.
* Switch to new kingpin path.
* Use new landing page feature.
* Fixup version handling in tests.
Signed-off-by: SuperQ <superq@gmail.com>
2023-03-13 15:40:44 +01:00
Leo Q
aa12ba2c6a
fix duplicated collector when collectParams was passed in probe mode ( #710 )
...
* fix duplicated collector when collectParams was passed in probe mode
---------
Signed-off-by: qizhicheng <qizhicheng@douban.com>
2023-03-04 09:36:29 +01:00
Mattias Ängehov
593b0095a5
Support for scraping multiple mysqld hosts ( #651 )
...
Add multi-target exporter scrape support.
Breaking change:
`DATA_SOURCE_NAME` is now removed. Local configuration is now supplied by `MYSQLD_EXPORTER_PASSWORD` and command line arguments.
Signed-off-by: Mattias Ängehov <mattias.angehov@castoredc.com>
2022-09-01 16:48:32 +02:00
inosato
2898735745
Remove ioutil ( #650 )
...
Signed-off-by: inosato <si17_21@yahoo.co.jp>
2022-07-28 15:14:50 +02:00
Jon Tirsen
67f6bc7ab2
Support authenticating using mTLS client cert and no password ( #539 )
...
Signed-off-by: Jon Tirsen <jontirsen@squareup.com>
2021-04-08 14:47:26 +02:00
Ben Kochie
ff14a3d4cb
Update circleci test job ( #342 )
...
* Update circleci test job
* Add check_license.
* Change test to test-short.
* Add missing license headers
Signed-off-by: Ben Kochie <superq@gmail.com>
2018-10-29 15:49:50 +01:00
Kamil Dziedzic
33b5df2073
Ignore boolean keys in my.cnf. ( #283 )
...
Below is valid MySQL config however mysqld_exporter fails to read it,
because of the boolean keys.
Config:
```
[client]
user = root
password = abc123
[mysql]
skip-auto-rehash
```
Signed-off-by: Kamil Dziedzic <arvenil@klecza.pl>
2018-06-26 15:06:33 +02:00
Kamil Dziedzic
a71f4bbcff
Broken landing page, doesn't include metric path. ( #264 )
...
* Broken landing page, doesn't include metric path.
* Fix landing page.
2018-02-01 18:33:24 +01:00
Ben Kochie
2dfc12ce7a
Move perf_schema to collector package
...
* Cleanup unused bits in mysqld_exporter.go main.
2016-04-14 00:02:02 +02:00
Ben Kochie
a0d0968011
Move information_schema collectors to collector package.
...
* collect.info_schema.innodb_metrics
* collect.info_schema.processlist
* collect.info_schema.query_response_time
* collect.info_schema.userstats
* collect.info_schema.tables
* collect.info_schema.tablestats
2016-04-13 22:41:30 +02:00
Ben Kochie
560a34e4cf
Move scrapeEngineTokudbStatus to collector package.
2016-04-11 23:44:59 +02:00
Ben Kochie
04b244758e
Refactor collectors
...
Move `GLOBAL STATUS` collector to a separate file.
2016-04-11 20:45:24 +02:00
Ben Kochie
fbadf61342
Add tests for scrapePerfIndexIOWaits
...
Update sanitizeQuery() to handle parens in queries.
2016-03-22 10:09:38 +01:00
Roman Vynar
9b32c72003
Added SHOW ENGINE TOKUDB STATUS metrics
2016-03-16 23:10:22 +02:00
Ben Kochie
6e904c197f
Fix tests
...
Don't use unnamed imports. 😿
2016-03-14 18:58:09 +01:00
Ben Kochie
d717730078
Add tests for scrapeGlobalStatus()
...
* Add tests for `SHOW GLOBAL STATUS`.
* Refactor `readCounter()` into `readMetric()`
* Replace all use of `readCounter()`.
2016-03-14 18:29:52 +01:00
Roman Vynar
dbe54f8b0c
Avoid using anonymous structs
2016-02-29 22:30:45 +02:00
Roman Vynar
4914678c22
Added Test_scrapeTableStat, amended Test_scrapeQueryResponseTime.
2016-02-23 16:06:00 +02:00
Roman Vynar
e14715b1db
Added Test_parseMycnf and updated parseMycnf() to be more testable.
...
* Added Test_parseMycnf and updated parseMycnf() to be more testable.
* Amended Test_scrapeQueryResponseTime.
2016-02-22 12:56:17 +02:00
Roman Vynar
99783d7e84
Added one test
2016-02-17 11:09:53 +02:00