Commit graph

12 commits

Author SHA1 Message Date
Lars Strojny
565f423dd9
Extract stringReverse() function 2022-11-24 19:24:00 +01:00
Lars Strojny
7c7673f1c2
Fix code smells (#36)
Fix code smells detected by SonarCloud
2022-11-23 14:30:23 +01:00
Lars Strojny
f8007b55ca
Add experimental support for basic auth and TLS (#23)
Allows restricting access to the monitoring endpoint using basic auth
and configure TLS certificates.
2022-11-16 22:19:08 +01:00
Lars Strojny
479fbe5727 Refactor internal APIs 2022-11-14 01:20:53 +01:00
Lars Strojny
1088a78079
Strict type imports (#17)
When a symbols is only used as a type, require `import type {…}`
2022-11-10 13:00:45 +01:00
Lars Strojny
822f0da2eb
Set charset in metrics content type (#15)
Send `Content-Type: text/plain; charset=utf-8; version=0.0.4` instead of
`Content-Type: text/plain; version=0.0.4` so that special characters in
names have a chance to work.
2022-11-10 11:10:31 +01:00
Lars Strojny
2bd799ca9c
Integration tests for the fastify HTTP adapter (#11) 2022-11-09 19:08:24 +01:00
Lars Strojny
e64b621336 Mention where the escape functions come from 2022-11-09 00:41:15 +01:00
Lars Strojny
4a7d6ff6de Allow configuring the prefix 2022-11-08 14:43:49 +01:00
Lars Strojny
e338c982d2 Prometheus wants counter, not count 2022-11-07 22:41:52 +01:00
Lars Strojny
7fd1c5a03c Extract prometheus server 2022-11-07 22:31:17 +01:00
Lars Strojny
ff7fd44f2c Extract rendering 2022-11-07 20:50:58 +01:00