Skip to content

[Feature] Support multiple clients requesting Open Metrics #81

@nahuelfilipuzzi

Description

@nahuelfilipuzzi

Context

Customer can configure their EKS environment to scrape the /metrics endpoint from different endpoints. This NFM agent feature was based on the assumption that there is only one endpoint (common scenario) and on some OS limitations (source of information return historical values, that we need to transform in deltas between calls).

Request

Update the agent to support multi-client scenarios.

Proposal

There are 2 ways to implement this.

  1. Agent calculates an snapshot (even if there is no request). We need to define an aggregation period for this calculation.
  2. Keep track of results per client (this will increase the memory consumption and CPU usage, but worth a try).
  3. Change the returned metrics for absolute values instead of delta (this option was discarded during initial implementation because it is easier to find metrics anomalies using deltas). This could break backwards compatibility if we don't support both type of metrics.

Will check this, but looks like option 1 is the reasonable way to go.


See: #71

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions