Skip to content

Send Prometheus metrics #1088

Send Prometheus metrics

Send Prometheus metrics #1088

Triggered via pull request November 6, 2023 06:55
@brainexebrainexe
synchronize #491
prometheus
Status Failure
Total duration 2m 47s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yaml

on: pull_request
Run race+coverage tests
2m 32s
Run race+coverage tests
Lint
33s
Lint
Security
50s
Security
Build Docker image
53s
Build Docker image
Matrix: Run tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 19 warnings
Lint: bot/metrics.go#L53
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
Lint: bot/metrics_test.go#L42
ineffectual assignment to err (ineffassign)
Lint
issues found
Run race+coverage tests
Process completed with exit code 2.
Run tests (1.21.x, macos-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, macos-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run tests (1.21.x, ubuntu-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, ubuntu-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run tests (1.20.x, macos-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.20.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run tests (1.20.x, macos-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.20.x, ubuntu-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.20.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run tests (1.20.x, ubuntu-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, windows-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, windows-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\slack-bot\slack-bot. Supported file pattern: go.sum
Run race+coverage tests
Restore cache failed: Dependencies file is not found in /home/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run tests (1.20.x, windows-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.20.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\slack-bot\slack-bot. Supported file pattern: go.sum
Run tests (1.20.x, windows-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']