-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate expvar metrics backend (#4740)
## Which problem is this PR solving? - Step 1 of #4722 ## Description of the changes - add deprecation notice for `expvar` as metrics backend - change HotROD default backend to `prometheus` ## How was this change tested? - run binaries locally to observe the messages ``` $ go run ./cmd/all-in-one help --metrics-backend string Defines which metrics backend to use for metrics reporting: prometheus, none, or expvar (deprecated, will be removed after 2024-01-01 or in release v1.53.0, whichever is later) (default "prometheus") $ go run ./cmd/all-in-one --metrics-backend=expvar 2023/09/09 19:09:01 using expvar as metrics backend (deprecated, will be removed after 2024-01-01 or in release v1.53.0, whichever is later) ``` --------- Signed-off-by: Yuri Shkuro <[email protected]>
- Loading branch information
1 parent
81d2cf8
commit 770b60e
Showing
3 changed files
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters