15 Commits

Author SHA1 Message Date
Gregor Jasny f448b2c3de feat(iwyu): Organize includes with include-what-you-use 2021-03-03 22:11:10 +01:00
Mark Klein (mklein201) bd887dafbd pull: Add RemoveCollectable
Closes: #415
2020-12-17 19:32:14 +01:00
Gregor Jasny d0e1056016 core: Explicitly link against libatomic when needed
Closes: #394
2020-09-27 16:34:40 +01:00
James Harrison 498c3c978c Add support for HTTP Basic Auth on scraping endpoints
Adds a simple HTTP Basic Auth handler which can be registered to
endpoints.

This provides a mechanism for extracting user/password from the auth
header; all further authentication logic is left to the user.
2020-06-05 11:49:04 +01:00
Gregor Jasny 8b45141a1c Extend existing exposer interface 2020-05-26 08:44:48 +02:00
James Harrison cc282f9985 Add support for serving multiple paths
Allows users to specify multiple Endpoints, and register Collectables
to each Endpoint. E.g.,

 /metrics

and

 /metricsHighCardinality

Can both be served by the same MultiExposer, but may expose different
Collectables. This may be useful if, for example, one wants to scrape
groups of metrics with different frequencies.

Each Endpoint must have a unique URI.
2020-05-13 14:56:41 +01:00
Gregor Jasny c06e0ef4e4 pull: Add support for https and client certificates
Issue: #329
2020-03-17 18:39:12 +01:00
Gregor Jasny 3018a51030 feat(pull): Add getter for listening ports
Closes: #334
2020-02-12 21:01:44 +01:00
Gregor Jasny 5a3ee66c7e fix(symbols): Fix Windows and Bazel symbol visibility 2019-10-18 23:19:17 +02:00
Gregor Jasny c216ae7ae9 chore(clang-format): Format everything 2019-10-17 18:13:24 +02:00
Gregor Jasny b6a1b4c2fc Implement symbol visibility build system agnostic
Issue: #223
2019-08-31 19:55:13 +02:00
Gregor Jasny 538ed3af0d Add (shared) library versioning
Closes: #223
2019-08-31 18:21:11 +02:00
Dmitry Khvorov de62eac55b configure number of threads used by Exposer 2018-12-10 17:59:17 +08:00
Jerry Crunchtime e0502287ee Include what is used 2018-10-25 14:48:14 +02:00
Gregor Jasny fab3f3baad Move generic library into core and pull 2018-07-04 22:18:44 +02:00