FrankChen021 / bithon

An observability platform mainly for Java
Apache License 2.0
15 stars 4 forks source link

Link http-outgoing-metrics with tracing #560

Closed FrankChen021 closed 1 year ago

FrankChen021 commented 1 year ago

http-incoming-metris has been linked with tracing. Now needs to support http-outgoing. As part of the prior work, the name and tags has been standardised for httpclient in #548.

Left tricky parts:

  1. the normalized url of http-outgoing-metrics VS the raw URL in the tracing

    • [X] done by 585
  2. indexing the httpclient OR full search the tags in tracing logs? how can we ensure the performance?

    • [ ] define kind as LowCardinality
    • [ ] define component as LowCardinality
    • [ ] define tags as map and apply indexes
  3. For http-incoming-metrics, that link SHOULD include spans with kind=SERVER only

  4. For metrics, add traced metric