-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
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
feat(metrics): replace metrics port with address #2382
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -188,7 +188,7 @@ defined in [lib/runtime/wasmer/exports.go](../../lib/runtime/wasmer/exports.go). | |
Gossamer publishes telemetry data and also includes an embedded Prometheus server that reports metrics. The metrics | ||
capabilities are defined in the [dot/metrics](../../dot/metrics) package and build on | ||
[the metrics library that is included with Go Ethereum](https://github.com/ethereum/go-ethereum/blob/master/metrics/README.md). | ||
The default port for Prometheus metrics is 9090, and Gossamer allows the user to configure this parameter with the | ||
`--metrics-port` command-line parameter. The Gossamer telemetry server publishes telemetry data that is compatible with | ||
The default listening address for Prometheus metrics is `localhost:9090`, and Gossamer allows the user to configure this parameter with the | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually this is false right @danforbes ? It's There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, looks like you're correct, @qdm12 https://github.com/ChainSafe/gossamer/blob/v0.6.0/chain/gssmr/defaults.go#L26 |
||
`--metrics-address` command-line parameter. The Gossamer telemetry server publishes telemetry data that is compatible with | ||
[Polkadot Telemetry](https://github.com/paritytech/substrate-telemetry) and | ||
[its helpful UI](https://telemetry.polkadot.io/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
potato question but this doesn't need the
http://
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥔 no, this is just the
host:port
for the tcp net listener, go source code relevant line 😉Although you can also use
localhost:http
for example, and Go will understand it aslocalhost:80
, but that's another thing.