caddy/caddyconfig/httpcaddyfile
Mohammed Al Sahaf 41f5dd56e1
metrics: scope metrics to active config, add optional per-host metrics (#6531)
* Add per host config

* Pass host label when option is enabled

* Test per host enabled

* metrics: scope metrics per loaded config

* doc and linter

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>

* inject the custom registry into the admin handler

Co-Authored-By: Dave Henderson <dhenderson@gmail.com>

* remove `TODO` comment

* fixes

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>

* refactor to delay metrics admin handler provision

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>

---------

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
Co-authored-by: Hussam Almarzooq <me@hussam.io>
Co-authored-by: Dave Henderson <dhenderson@gmail.com>
2024-10-02 08:23:26 -06:00
..
testdata caddyfile: Do not replace import tokens if they are part of a snippet (#5539) 2023-05-22 15:36:55 -06:00
addresses_fuzz.go core: Windows service integration (#4790) 2022-07-29 14:06:54 -06:00
addresses_test.go httpcaddyfile: Preserve IPv6 addresses through normalization (fix #4381) 2021-10-20 10:27:59 -06:00
addresses.go core: Implement socket activation listeners (#6573) 2024-09-30 10:55:03 -06:00
builtins_test.go logging: Customizable zap cores (#6381) 2024-06-10 09:03:24 -06:00
builtins.go core: Implement socket activation listeners (#6573) 2024-09-30 10:55:03 -06:00
directives_test.go core: Implement socket activation listeners (#6573) 2024-09-30 10:55:03 -06:00
directives.go core: Implement socket activation listeners (#6573) 2024-09-30 10:55:03 -06:00
httptype_test.go caddyfile: Introduce basic linting and fmt check (#3923) 2021-01-04 11:11:36 -07:00
httptype.go caddyhttp: Implement auto_https prefer_wildcard option (#6146) 2024-10-02 07:31:58 -06:00
options_test.go caddyconfig: add global option for configuring loggers (#4028) 2021-03-12 13:00:02 -07:00
options.go caddyhttp: Implement auto_https prefer_wildcard option (#6146) 2024-10-02 07:31:58 -06:00
pkiapp.go caddyfile: Normalize & flatten all unmarshalers (#6037) 2024-01-23 19:36:59 -05:00
serveroptions.go metrics: scope metrics to active config, add optional per-host metrics (#6531) 2024-10-02 08:23:26 -06:00
shorthands.go caddyhttp: New experimental handler for intercepting responses (#6232) 2024-05-13 17:38:18 +00:00
tlsapp_test.go caddytls: Eval replacer on automation policy subjects (#5459) 2023-03-27 21:16:22 +00:00
tlsapp.go caddyhttp: Implement auto_https prefer_wildcard option (#6146) 2024-10-02 07:31:58 -06:00