feat: update otel configuration #58
Annotations
7 errors and 3 warnings
golangci-lint:
internal/config/config.go#L1
: # github.com/snapp-incubator/mqtt-blackbox-exporter/internal/config
|
golangci-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
|
golangci-lint:
internal/client/client.go#L47
Function 'New' is too long (68 > 60) (funlen)
|
golangci-lint:
internal/telemetry/metric/server.go#L36
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
|
golangci-lint:
internal/client/metric.go#L91
prometheus.HistogramOpts is missing fields NativeHistogramBucketFactor, NativeHistogramZeroThreshold, NativeHistogramMaxBucketNumber, NativeHistogramMinResetDuration, NativeHistogramMaxZeroThreshold (exhaustruct)
|
golangci-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)
|
golangci-lint
issues found
|
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/
|
golangci-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/
|
golangci-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/
|
The logs for this run have expired and are no longer available.
Loading