Commit d676efb
authored
opentelemetry-instrumentation-system-metrics: fix cpython metrics (open-telemetry#4092)
* opentelemetry-instrumentation-system-metrics: fix cpython metrics
Use the proper attribute per semantic convention for the generation.
Don't break the backward compatibility for now, add a TODO to remove
the wrong attribute in following releases.1 parent 3188f36 commit d676efb
3 files changed
Lines changed: 42 additions & 9 deletions
File tree
- instrumentation/opentelemetry-instrumentation-system-metrics
- src/opentelemetry/instrumentation/system_metrics
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
115 | 118 | | |
116 | 119 | | |
117 | 120 | | |
| |||
958 | 961 | | |
959 | 962 | | |
960 | 963 | | |
| 964 | + | |
| 965 | + | |
961 | 966 | | |
962 | 967 | | |
963 | 968 | | |
| |||
968 | 973 | | |
969 | 974 | | |
970 | 975 | | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
971 | 980 | | |
972 | 981 | | |
973 | 982 | | |
| |||
981 | 990 | | |
982 | 991 | | |
983 | 992 | | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
984 | 997 | | |
985 | 998 | | |
986 | 999 | | |
| |||
Lines changed: 27 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
983 | 983 | | |
984 | 984 | | |
985 | 985 | | |
986 | | - | |
987 | | - | |
988 | | - | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
989 | 995 | | |
990 | 996 | | |
991 | 997 | | |
| |||
1007 | 1013 | | |
1008 | 1014 | | |
1009 | 1015 | | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
1013 | 1025 | | |
1014 | 1026 | | |
1015 | 1027 | | |
| |||
1031 | 1043 | | |
1032 | 1044 | | |
1033 | 1045 | | |
1034 | | - | |
1035 | | - | |
1036 | | - | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
1037 | 1055 | | |
1038 | 1056 | | |
1039 | 1057 | | |
| |||
0 commit comments