Commit 8d2002f
authored
Use a more descriptive channel name for the resampler (#1007)
When trying to debug issues with the resampler not getting relevant
data, the name of the channel is being used to identify the component
and metric with issues, but the string contains other data, which makes
it hard to identify the component and metric in the string.
This commit uses a new, more descriptive channel name for for any
component metric request, which is also used by the resampler.
The previous string was:
`component-stream::{component_id}::{metric_id.name}::{start_time}::{namespace}`
The new string is:
`component_metric_request<namespace={namespace},component_id={component_id},metric_id={metric_id.name},start={start_time}>`File tree
3 files changed
+9
-3
lines changed- src/frequenz/sdk
- actor/_data_sourcing
- timeseries
3 files changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
749 | | - | |
| 749 | + | |
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
| |||
0 commit comments