We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
threads
exporter
Linux 18.04 cbk node version v0.108.0-rc2
error:
`Config Error: Error { inner: ErrorInner { kind: Custom, line: Some(177), col: 0, at: Some(6387), message: "unknown field `threads`, expected `exporter`", key: ["metrics"] } } Config Error: Error { inner: ErrorInner { kind: Custom, line: Some(177), col: 0, at: Some(6387), message: "unknown field `threads`, expected `exporter`", key: ["metrics"] } } Config Error: Error { inner: ErrorInner { kind: Custom, line: Some(177), col: 0, at: Some(6387), message: "unknown field `threads`, expected `exporter`", key: ["metrics"] } } Config Error: Error { inner: ErrorInner { kind: Custom, line: Some(177), col: 0, at: Some(6387), message: "unknown field `threads`, expected `exporter`", key: ["metrics"] } } Config Error: Error { inner: ErrorInner { kind: Custom, line: Some(177), col: 0, at: Some(6387), message: "unknown field `threads`, expected `exporter`", key: ["metrics"] } } Config Error: Error { inner: ErrorInner { kind: Custom, line: Some(177), col: 0, at: Some(6387), message: "unknown field `threads`, expected `exporter`", key: ["metrics"] } }`
configuration that was working on old ckb node version:
`[metrics] threads = 3 histogram_window = 60 histogram_granularity = 1 upkeep_interval = 500 [metrics.exporter.prometheus] target = { type = "http", listen_address = "0.0.0.0:8100" } format = { type = "prometheus" } [metrics.exporter.log_yaml] target = { type = "log", level = "warn", interval = 600 } format = { type = "yaml" } [metrics.exporter.log_json] target = { type = "log", level = "error", interval = 900 } format = { type = "json" }`
updated the structure do not accept these lines.
How I should write this on the config file?
Thank you!
The text was updated successfully, but these errors were encountered:
on #2870 we replace metrics-rs with opentelemetry-rust, the metric config has been changed
Sorry, something went wrong.
Thank you! Does it means I should write the config like [opentelemetry] and [[opentelemetry-prometheus] / [opentelemetry-log_yaml] and so on?
https://github.com/nervosnetwork/ckb/pull/2870/files#diff-b2a0d055961667d0b7fdc3af63de0a8dc90bef7f8a7936dbc0519a72c28319bfR18 it seems only support Prometheus like this line now
An example which is used in ckb.toml:
ckb.toml
[metrics.exporter.prometheus] target = { type = "prometheus", listen_address = "127.0.0.1:8100" }
listen_address is the only configurable option.
listen_address
No branches or pull requests
Linux 18.04
cbk node version v0.108.0-rc2
error:
configuration that was working on old ckb node version:
updated the structure do not accept these lines.
How I should write this on the config file?
Thank you!
The text was updated successfully, but these errors were encountered: