Skip to content

feat: update otel configuration #58

feat: update otel configuration

feat: update otel configuration #58

Triggered via push December 4, 2023 10:59
Status Failure
Total duration 23s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
test
Process completed with exit code 1.
lint: internal/config/config.go#L1
: # github.com/snapp-incubator/mqtt-blackbox-exporter/internal/config
lint: internal/cmd/main.go#L9
could not import github.com/snapp-incubator/mqtt-blackbox-exporter/internal/config (-: # github.com/snapp-incubator/mqtt-blackbox-exporter/internal/config
lint: internal/client/client.go#L47
Function 'New' is too long (68 > 60) (funlen)
lint: internal/telemetry/metric/server.go#L36
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
lint: internal/client/metric.go#L91
prometheus.HistogramOpts is missing fields NativeHistogramBucketFactor, NativeHistogramZeroThreshold, NativeHistogramMaxBucketNumber, NativeHistogramMinResetDuration, NativeHistogramMaxZeroThreshold (exhaustruct)
lint: internal/client/client.go#L41
`Message` should be annotated with the `json` tag as it is passed to `json.Unmarshal` at internal/client/client.go:147:12 (musttag)
lint
issues found
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/