forked from TrueCloudLab/frostfs-node
[#1602] config: Rename metrics
and profiler
sections
Depracate old names and remove them in the next release. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
ac46d1a11f
commit
3a0b06d5da
11 changed files with 66 additions and 28 deletions
|
@ -82,13 +82,13 @@ NEOFS_IR_CONTRACTS_ALPHABET_DOBRO=e6122b65d45c8feeb04455d67814394c147ed4d1
|
|||
NEOFS_IR_CONTRACTS_ALPHABET_YEST=cdbca5cb5d48a4472923844d0e3ee6328cf86d38
|
||||
NEOFS_IR_CONTRACTS_ALPHABET_ZHIVETE=f584699bc2ff457d339fb09f16217042c1a42101
|
||||
|
||||
NEOFS_IR_PROFILER_ENABLED=true
|
||||
NEOFS_IR_PROFILER_ADDRESS=localhost:6060
|
||||
NEOFS_IR_PROFILER_SHUTDOWN_TIMEOUT=30s
|
||||
NEOFS_IR_PPROF_ENABLED=true
|
||||
NEOFS_IR_PPROF_ADDRESS=localhost:6060
|
||||
NEOFS_IR_PPROF_SHUTDOWN_TIMEOUT=30s
|
||||
|
||||
NEOFS_IR_METRICS_ENABLED=true
|
||||
NEOFS_IR_METRICS_ADDRESS=localhost:9090
|
||||
NEOFS_IR_METRICS_SHUTDOWN_TIMEOUT=30s
|
||||
NEOFS_IR_PROMETHEUS_ENABLED=true
|
||||
NEOFS_IR_PROMETHEUS_ADDRESS=localhost:9090
|
||||
NEOFS_IR_PROMETHEUS_SHUTDOWN_TIMEOUT=30s
|
||||
|
||||
NEOFS_IR_SETTLEMENT_BASIC_INCOME_RATE=100
|
||||
NEOFS_IR_SETTLEMENT_AUDIT_FEE=100
|
||||
|
|
|
@ -123,12 +123,12 @@ contracts:
|
|||
yest: cdbca5cb5d48a4472923844d0e3ee6328cf86d38 # Optional: override address of yest contract in sidechain
|
||||
zhivete: f584699bc2ff457d339fb09f16217042c1a42101 # Optional: override address of zhivete contract in sidechain
|
||||
|
||||
profiler:
|
||||
pprof:
|
||||
enabled: true
|
||||
address: localhost:6060 # Endpoint for application pprof profiling; disabled by default
|
||||
shutdown_timeout: 30s # Timeout for profiling HTTP server graceful shutdown
|
||||
|
||||
metrics:
|
||||
prometheus:
|
||||
enabled: true
|
||||
address: localhost:9090 # Endpoint for application prometheus metrics; disabled by default
|
||||
shutdown_timeout: 30s # Timeout for metrics HTTP server graceful shutdown
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
logger:
|
||||
level: debug # logger level: one of "debug", "info" (default), "warn", "error", "dpanic", "panic", "fatal"
|
||||
|
||||
profiler:
|
||||
pprof:
|
||||
enabled: true
|
||||
address: localhost:6060 # endpoint for Node profiling
|
||||
shutdown_timeout: 15s # timeout for profiling HTTP server graceful shutdown
|
||||
|
||||
metrics:
|
||||
prometheus:
|
||||
enabled: true
|
||||
address: localhost:9090 # endpoint for Node metrics
|
||||
shutdown_timeout: 15s # timeout for metrics HTTP server graceful shutdown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue