Skip to content

Commit

Permalink
fix(telemetry): add missing slog type
Browse files Browse the repository at this point in the history
  • Loading branch information
mujahid committed Nov 13, 2024
1 parent 3915a34 commit bdf4cd3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/telemetry/src/slog-to-otel.js
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,11 @@ export const makeSlogToOtelKit = (tracer, overrideAttrs = {}) => {
spans.pop('timer-poll');
break;
}
case 'cosmic-swinget-inject-kernel-upgrade-events': {
spans.push('kernel-upgrade-events');
spans.pop('kernel-upgrade-events');
break;
}
case 'cosmic-swingset-install-bundle': {
spans.push(['install-bundle', slogAttrs.endoZipBase64Sha512]);
spans.pop('install-bundle');
Expand Down

0 comments on commit bdf4cd3

Please sign in to comment.