canonical / mysql-router-k8s-operator

Mysql router operator charm for kubernetes
https://charmhub.io/mysql-router-k8s
Apache License 2.0
2 stars 6 forks source link

[DPE-4615] Add support for tracing with tempo_k8s #250

Closed shayancanonical closed 2 months ago

shayancanonical commented 3 months ago

Issue

We would like to be able to instrument our charm and generate traces to discover inefficiencies in charm code execution. The observability team has developed a charm for tempo that we would like to integrate with.

Solution

Integrate with the tempo charm

Considerations

  1. We must use COS lite with edge until it is release to stable with some
  2. We are sending traces with HTTP until some rough edges are rounded with HTTPS

image

taurus-forever commented 3 months ago

@shayancanonical please check/adopt the unit test https://github.com/canonical/mysql-router-k8s-operator/actions/runs/9373620311/job/25813239781#step:4:86

shayancanonical commented 3 months ago

Tested a fix for failing unit tests in a68944f. The issue of the fix was related to https://github.com/canonical/tempo-k8s-operator/issues/120