Skip to content

Metrics: Emit metric when server is low on memory #3243

@dlmarion

Description

@dlmarion

Each server process extends AbstractServer and calls MetricsUtil.initializeProducers() passing in a list of MetricsProducer implementations. Modify AbstractServer to also implement MetricsProducer and modify the calls to MetricsUtil.initializeProducers() to include this. I'm thinking that the metric should be a Gauge with either the value of 0 or 1, which will allow a downstream metric collector to determine how many servers of a given type of running low on memory.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions