Commit 1a28465
authored
Add support for tracing with tempo_k8s (#250)
## 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](https://github.com/canonical/tempo-k8s-operator) 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
1 parent cd614ba commit 1a28465
File tree
14 files changed
+1934
-27
lines changed- .github/workflows
- lib/charms
- data_platform_libs/v0
- grafana_k8s/v0
- loki_k8s/v0
- tempo_k8s
- v1
- v2
- src
- tests/unit
- scenario_/database_relations
14 files changed
+1934
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
645 | | - | |
646 | 645 | | |
| 646 | + | |
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
654 | | - | |
| 654 | + | |
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
661 | 665 | | |
662 | 666 | | |
663 | 667 | | |
| |||
1586 | 1590 | | |
1587 | 1591 | | |
1588 | 1592 | | |
1589 | | - | |
| 1593 | + | |
1590 | 1594 | | |
1591 | 1595 | | |
1592 | 1596 | | |
| |||
2309 | 2313 | | |
2310 | 2314 | | |
2311 | 2315 | | |
2312 | | - | |
| 2316 | + | |
2313 | 2317 | | |
2314 | 2318 | | |
2315 | 2319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
1050 | 1050 | | |
1051 | 1051 | | |
1052 | 1052 | | |
| 1053 | + | |
1053 | 1054 | | |
1054 | 1055 | | |
1055 | 1056 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | | - | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
219 | 221 | | |
220 | 222 | | |
221 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
222 | 227 | | |
223 | 228 | | |
224 | 229 | | |
| |||
480 | 485 | | |
481 | 486 | | |
482 | 487 | | |
483 | | - | |
| 488 | + | |
484 | 489 | | |
485 | 490 | | |
486 | 491 | | |
| |||
1539 | 1544 | | |
1540 | 1545 | | |
1541 | 1546 | | |
1542 | | - | |
| 1547 | + | |
| 1548 | + | |
1543 | 1549 | | |
1544 | 1550 | | |
1545 | 1551 | | |
| |||
1728 | 1734 | | |
1729 | 1735 | | |
1730 | 1736 | | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
1731 | 1740 | | |
1732 | 1741 | | |
1733 | 1742 | | |
| |||
0 commit comments