Consensys / tessera

Tessera - Enterprise Implementation of Quorum's transaction manager
https://docs.tessera.consensys.net/
Apache License 2.0
180 stars 109 forks source link

metrics endpoint: restrict to relevant server metrics #1418

Open macfarla opened 2 years ago

macfarla commented 2 years ago
// TODO Each app server has a /metrics endpoint but currently each endpoint returns the metrics
// for all servers.  Would be better to lock this down e.g. <p2puri>/metrics only returns the
// p2p metrics

https://github.com/ConsenSys/tessera/blob/095ab4fee41d13bb914b10b366ab8ecc6c6018da/server/jersey-server/src/main/java/com/quorum/tessera/server/monitoring/MetricsResource.java#L30