Gregor Jasny
5b465a4e6c
pull: Announce utf-8 content encoding
...
Closes : #377
2021-03-09 13:01:15 +01:00
Gregor Jasny
f448b2c3de
feat(iwyu): Organize includes with include-what-you-use
2021-03-03 22:11:10 +01:00
Gregor Jasny
af8449400d
Merge pull request #435 from jupp0r/improve-example
...
pull: Add better example
2021-01-31 20:57:57 +01:00
Gregor Jasny
3c5d3c5775
pull: improve code coverage
2020-12-27 17:50:36 +01:00
Gregor Jasny
b8db5e468d
pull: don't trigger failing authentication due to civetweb/civetweb#954
2020-12-27 13:06:58 +01:00
Gregor Jasny
114f756f19
pull: don't set auth handler to nullptr to avoid civetweb bug
2020-12-27 13:06:58 +01:00
Gregor Jasny
eae808770a
pull: test authentication and compression
2020-12-26 23:42:48 +01:00
Gregor Jasny
fda05ed105
pull: Add better example
...
Closes : #423
2020-12-26 15:46:38 +01:00
Mark Klein (mklein201)
bd887dafbd
pull: Add RemoveCollectable
...
Closes : #415
2020-12-17 19:32:14 +01:00
Gregor Jasny
9638191bc9
pull: Add integration test for exposer
2020-12-16 20:10:49 +01:00
Gregor Jasny
bb017ec15a
pull: Use internal base64 decoding function to avoid dependency ( #417 )
2020-11-23 14:44:04 -08: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
3018a51030
feat(pull): Add getter for listening ports
...
Closes : #334
2020-02-12 21:01:44 +01:00
Gregor Jasny
c54cb06d04
chore(buildifier): Format everything
2019-10-17 18:14:02 +02:00
matthew
a34ead7027
include fixes
2019-08-08 09:52:41 -07:00
Gregor Jasny
396a72d3b4
Fix Telegraf scrape test
2019-07-01 18:33:51 +02:00
Dmitry Khvorov
de62eac55b
configure number of threads used by Exposer
2018-12-10 17:59:17 +08:00
Jerry Crunctime
e38d0206c9
Fix all warnings
2018-12-08 11:15:23 +01:00
Gregor Jasny
9ec4a40f53
Add linter test for sample server
2018-11-11 21:58:32 +01:00
Gregor Jasny
3448ef0754
Breaking Change: Use recommended metric naming
...
The sample_server is now `promtool check`-clean.
See: https://prometheus.io/docs/practices/naming/
Issue: #89
2018-11-11 21:39:10 +01:00
Jerry Crunchtime
354e4216ed
Refactor CMake
2018-10-19 16:42:23 +02:00
Mateusz Piotrowski
9a2e69e4a3
Spell "dimenstions" right
2018-09-14 15:04:14 +02:00
Gregor Jasny
1d50a2bad6
Bazel: Format Bazel files with buildifier
2018-09-11 21:47:12 +02:00
Gregor Jasny
c2e3b61e95
Make builds of pull, push, and tests optional
2018-07-06 16:47:10 +02:00
Gregor Jasny
fab3f3baad
Move generic library into core and pull
2018-07-04 22:18:44 +02:00