Skip to content

[W3]: Implement metricstore.Reader interface in elasticsearch #7147

@pipiland2612

Description

@pipiland2612

Requirement

Will be contined when [W2]: SPM Configuration#7208 has been done
Part of Native SPM support in Elasticsearch (#6641)
Leverage ES query to directly derive metric data from traces

Problem

Current SPM deployment use Prometheus to store metric data. We can simplify this deployment by directly derive metric data from traces data in ES

Proposal

  • Translator to turn es.SearchResult to MetricFamily
  • Implement QueryLogger
  • Implement QueryBuilder
  • GetLatencies:
    • develop and validate elasticsearch query
    • implementation & unit test
  • GetCallRates:
    • develop and validate elasticsearch query
    • implementation & unit test
  • GetErrorRates:
    • develop and validate elasticsearch query
    • implementation & unit test
  • GetMinStepDuration:
    • implementation & unit test
  • Refactor & improve on code structure
  • Bug fixes

Open questions

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions