You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/Thunnini/cosmos-sdk/tree/add-metrics
I am trying to support metrics on cosmos-sdk. It seemed that prometheus-go-client saves metrics data only in ram. So if cosmos-sdk runs with tendermint at same process, they can share prometheus metrics data, so no need to open additional port... But, if cosmos-sdk runs on standalone mode, prometheus metrics data can't be shared, so Cosmos-sdk should open another prometheus server. In my opinion, it is better to open a new port in both cases to support with same way... What do you think about this approach?
Proposal
Add variables in config file about which port to open for prometheus in cosmos-sdk.
Open another prometheus server for cosmos-sdk.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Thunnini
changed the title
How do you think about opening port for prometheus on cosmos-sdk? #2169
How do you think about opening port for prometheus on cosmos-sdk?
Oct 2, 2018
@Thunnini You should be able to register your metrics handlers on the instance of the Prometheus object stored on the Tendermint node. There are more details in the above issue. Closing this in favor of #2169
Summary
Open port for prometheus metrics.
Problem Definition
https://github.com/Thunnini/cosmos-sdk/tree/add-metrics
I am trying to support metrics on cosmos-sdk. It seemed that prometheus-go-client saves metrics data only in ram. So if cosmos-sdk runs with tendermint at same process, they can share prometheus metrics data, so no need to open additional port... But, if cosmos-sdk runs on standalone mode, prometheus metrics data can't be shared, so Cosmos-sdk should open another prometheus server. In my opinion, it is better to open a new port in both cases to support with same way... What do you think about this approach?
Proposal
Add variables in config file about which port to open for prometheus in cosmos-sdk.
Open another prometheus server for cosmos-sdk.
For Admin Use
The text was updated successfully, but these errors were encountered: