Skip to content

feat(metrics): Use modular telemetry package with easy configuration #337

feat(metrics): Use modular telemetry package with easy configuration

feat(metrics): Use modular telemetry package with easy configuration #337

Triggered via pull request May 14, 2024 17:54
Status Failure
Total duration 1m 49s
Artifacts

pipeline.yml

on: pull_request
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 3 warnings
ci (lint, ubuntu-latest, 1.21.0): telemetry/handler_wrapper.go#L30
appendAssign: append result not assigned to the same slice (gocritic)
ci (lint, ubuntu-latest, 1.21.0): telemetry/datadog/metrics.go#L21
unexported-return: exported func NewMetrics returns unexported type *datadog.metrics, which can be annoying to use (revive)
ci (lint, ubuntu-latest, 1.21.0): telemetry/prometheus/metrics.go#L23
unexported-return: exported func NewMetrics returns unexported type *prometheus.metrics, which can be annoying to use (revive)
ci (lint, ubuntu-latest, 1.21.0): telemetry/prometheus/metrics.go#L44
unused-parameter: parameter 'rate' seems to be unused, consider removing or renaming it as _ (revive)
ci (lint, ubuntu-latest, 1.21.0): telemetry/prometheus/metrics.go#L217
mnd: Magic number: 2, in <argument> detected (gomnd)
ci (lint, ubuntu-latest, 1.21.0): telemetry/prometheus/metrics.go#L218
mnd: Magic number: 2, in <condition> detected (gomnd)
ci (lint, ubuntu-latest, 1.21.0)
Process completed with exit code 2.
ci (build, ubuntu-latest, 1.21.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ci (test, ubuntu-latest, 1.21.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ci (lint, ubuntu-latest, 1.21.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.