Skip to content

Commit

Permalink
fix(telemetry): add missing slog type (#10455)
Browse files Browse the repository at this point in the history
## Description

Adds slog event for kernel upgrade

### Security Considerations

None

### Scaling Considerations

None

### Documentation Considerations

None

### Testing Considerations

Shouldn't affect operations

### Upgrade Considerations

Chain software but doesn't affect consensus as it's an optional (off by default) plugin
  • Loading branch information
mergify[bot] authored Nov 13, 2024
2 parents 596ebab + 1aec8d0 commit 21760b0
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 21760b0

Please sign in to comment.