Skip to content

feat: prometheus monitoring #31

feat: prometheus monitoring

feat: prometheus monitoring #31

Triggered via pull request July 31, 2024 16:05
Status Failure
Total duration 1m 18s
Artifacts

lint.yml

on: pull_request
golangci-lint
1m 7s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
golangci-lint: logging/prometheus.go#L51
var `RpcRequestErrors` should be `RPCRequestErrors` (golint)
golangci-lint: cmd/start/cmd.go#L65
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
golangci-lint: logging/prometheus.go#L50
ST1022: comment on exported var RpcRequestErrors should be of the form "RpcRequestErrors ..." (stylecheck)
golangci-lint: logging/prometheus.go#L58
ST1022: comment on exported var DbOperationErrors should be of the form "DbOperationErrors ..." (stylecheck)
golangci-lint: logging/prometheus.go#L66
ST1022: comment on exported var FetchBlockErrorCount should be of the form "FetchBlockErrorCount ..." (stylecheck)
golangci-lint
Process completed with exit code 2.
golangci-lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, technote-space/get-diff-action@v6.1.2, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci-lint
Unexpected input(s) 'SUFFIX_FILTER', valid inputs are ['GITHUB_TOKEN', 'DOT', 'BASE', 'RELATIVE', 'DIFF_FILTER', 'FORMAT', 'ESCAPE_JSON', 'SEPARATOR', 'PATTERNS', 'MINIMATCH_OPTION_NOBRACE', 'MINIMATCH_OPTION_NOGLOBSTAR', 'MINIMATCH_OPTION_DOT', 'MINIMATCH_OPTION_NOEXT', 'MINIMATCH_OPTION_NOCASE', 'MINIMATCH_OPTION_MATCH_BASE', 'MINIMATCH_OPTION_NONEGATE', 'FILES', 'SUMMARY_INCLUDE_FILES', 'ABSOLUTE', 'SET_ENV_NAME', 'SET_ENV_NAME_FILTERED_DIFF', 'SET_ENV_NAME_MATCHED_FILES', 'SET_ENV_NAME_COUNT', 'SET_ENV_NAME_INSERTIONS', 'SET_ENV_NAME_DELETIONS', 'SET_ENV_NAME_LINES', 'DIFF_DEFAULT', 'FILTERED_DIFF_DEFAULT', 'MATCHED_FILES_DEFAULT', 'COUNT_DEFAULT', 'GET_FILE_DIFF', 'INSERTIONS_DEFAULT', 'DELETIONS_DEFAULT', 'LINES_DEFAULT', 'CHECK_ONLY_COMMIT_WHEN_DRAFT', 'SUPPRESS_ERROR']