v1.0.0
What's Changed
💣 Breaking Changes
- Replace flag with kingpin and use promlog by @lucacome in #420
- Use web configuration from exporter-toolkit by @lucacome in #461
- Don't try to connect to nginx on client creation by @lucacome in #504
🚀 Features
- add cache metrics for NGINX plus by @sheharyaar in #540
- Add metrics from NGINX Plus API version 9 by @haywoodsh in #530
- Add config to publish on Snapcraft by @lucacome in #560
🐛 Bug Fixes
🔨 Maintenance
33 changes
- Replace autolabeler with
actions/labeler
by @lucacome in #295 - Update labeler.yml by @lucacome in #300
- Add OpenSSF Scorecard Github Action and Badge by @lucacome in #304
- [StepSecurity] ci: Harden GitHub Actions by @step-security-bot in #305
- Add SECURITY.md by @lucacome in #301
- Update GitHub Actions runners to Ubuntu 22.04 by @lucacome in #308
- Create config.yml by @lucacome in #313
- [StepSecurity] ci: Harden GitHub Actions by @step-security-bot in #319
- Update Scorecards workflow by @lucacome in #320
- Add CODEOWNERS by @lucacome in #356
- Add pre-commit and fix issues by @lucacome in #354
- Replace deprecated command with environment file by @jongwooo in #368
- Add SBOMs for Docker images by @lucacome in #355
- Add image scan by @lucacome in #369
- Use OIDC to login to AWS by @lucacome in #407
- Update labeler by @lucacome in #419
- Add missing change label in labeler config by @lucacome in #424
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #429
- Replace release-drafter with draft-release by @lucacome in #455
- Fix permissions for CI workflow by @lucacome in #456
- Add gitleaks to pre-commit by @lucacome in #457
- Deprecate old flag format by @lucacome in #460
- Update workflows by @lucacome in #462
- Add linting for markdown files by @lucacome in #465
- Update workflows by @lucacome in #467
- Sign checksum with cosign by @lucacome in #468
- Add Makefile help by @lucacome in #505
- Update CODEOWNERS by @lucacome in #549
- Replace deprecated value in GoReleaser by @lucacome in #562
- Use latest stable version of Go by @lucacome in #561
- Add provenance to Docker image by @lucacome in #568
- Add annotations to Docker image by @lucacome in #567
- Bump labeler to v5.0.0 and update config by @lucacome in #570
📝 Documentation
- Add Issue Lifecycle and update Contributing by @lucacome in #363
- Add support for multiple scrape addresses by @brandon1024 in #539
- Add docs about Snap by @lucacome in #569
⬆️ Dependencies
191 changes
- Bump joshdales/labeler from 0861fa5accbc36878f85f40b98a9f40b15fe0429 to 4c74e8446142eeec7aa182f52ea24306a5479850 by @dependabot in #298
- Bump actions/stale from 5 to 6 by @dependabot in #302
- Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 by @dependabot in #303
- Bump ossf/scorecard-action from 2.0.3 to 2.0.4 by @dependabot in #307
- Bump actions/upload-artifact from 3.0.0 to 3.1.0 by @dependabot in #306
- Bump ossf/scorecard-action from 2.0.4 to 2.0.6 by @dependabot in #310
- Bump actions/upload-artifact from 3.1.0 to 3.1.1 by @dependabot in #311
- Bump anchore/sbom-action from 0.12.0 to 0.13.0 by @dependabot in #312
- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in #317
- Bump github.com/prometheus/client_golang from 1.13.0 to 1.13.1 by @dependabot in #315
- Bump anchore/sbom-action from 0.13.0 to 0.13.1 by @dependabot in #316
- Bump github.com/prometheus/client_golang from 1.13.1 to 1.14.0 by @dependabot in #318
- Bump github/codeql-action from 2.1.33 to 2.1.35 by @dependabot in #322
- Bump actions/setup-go from 3.3.1 to 3.4.0 by @dependabot in #323
- Bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 by @dependabot in #321
- Bump 8398a7/action-slack from 3.14.0 to 3.15.0 by @dependabot in #327
- Bump github/codeql-action from 2.1.35 to 2.1.36 by @dependabot in #324
- Bump actions/checkout from 3.1.0 to 3.2.0 by @dependabot in #326
- Bump github.com/prometheus/common from 0.37.0 to 0.38.0 by @dependabot in #325
- Bump ossf/scorecard-action from 2.0.6 to 2.1.1 by @dependabot in #333
- Bump actions/setup-go from 3.4.0 to 3.5.0 by @dependabot in #329
- Bump github/codeql-action from 2.1.36 to 2.1.37 by @dependabot in #332
- Bump github.com/prometheus/common from 0.38.0 to 0.39.0 by @dependabot in #331
- Bump goreleaser/goreleaser-action from 3.2.0 to 4.1.0 by @dependabot in #330
- Bump actions/stale from 6.0.1 to 7.0.0 by @dependabot in #335
- Bump ossf/scorecard-action from 2.1.1 to 2.1.2 by @dependabot in #334
- Bump release-drafter/release-drafter from 5.21.1 to 5.22.0 by @dependabot in #337
- Bump actions/upload-artifact from 3.1.1 to 3.1.2 by @dependabot in #340
- Bump actions/checkout from 3.2.0 to 3.3.0 by @dependabot in #339
- Bump docker/build-push-action from 3.2.0 to 3.3.0 by @dependabot in #343
- Bump joshdales/labeler from 4c74e8446142eeec7aa182f52ea24306a5479850 to 7b1327b4c44a8794dfc7573d60637cd60ce4b697 by @dependabot in #344
- Bump docker/metadata-action from 4.1.1 to 4.3.0 by @dependabot in #342
- Bump github/codeql-action from 2.1.37 to 2.1.38 by @dependabot in #341
- Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 by @dependabot in #346
- Bump github/codeql-action from 2.1.38 to 2.1.39 by @dependabot in #345
- Bump docker/setup-buildx-action from 2.2.1 to 2.4.0 by @dependabot in #351
- Bump anchore/sbom-action from 0.13.1 to 0.13.3 by @dependabot in #349
- Bump goreleaser/goreleaser-action from 4.1.0 to 4.2.0 by @dependabot in #350
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #353
- Bump actions/github-script from 6.3.3 to 6.4.0 by @dependabot in #348
- Bump github/codeql-action from 2.1.39 to 2.2.1 by @dependabot in #347
- Bump docker/build-push-action from 3.3.0 to 4.0.0 by @dependabot in #352
- Update Dockerfile Go version from 1.19 to 1.20 by @kkirsche in #358
- Bump docker/setup-buildx-action from 2.4.0 to 2.4.1 by @dependabot in #359
- Bump github/codeql-action from 2.2.1 to 2.2.2 by @dependabot in #360
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #361
- Bump github/codeql-action from 2.2.2 to 2.2.4 by @dependabot in #362
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #365
- Bump github.com/prometheus/common from 0.39.0 to 0.40.0 by @dependabot in #364
- Bump github/codeql-action from 2.2.4 to 2.2.5 by @dependabot in #370
- Bump release-drafter/release-drafter from 5.22.0 to 5.23.0 by @dependabot in #372
- Bump peter-evans/dockerhub-description from 3.1.2 to 3.3.0 by @dependabot in #373
- Bump github.com/prometheus/common from 0.40.0 to 0.41.0 by @dependabot in #374
- Bump github.com/prometheus/common from 0.41.0 to 0.42.0 by @dependabot in #379
- Bump docker/setup-buildx-action from 2.4.1 to 2.5.0 by @dependabot in #378
- Bump github/codeql-action from 2.2.5 to 2.2.6 by @dependabot in #377
- Bump anchore/sbom-action from 0.13.3 to 0.13.4 by @dependabot in #383
- Bump actions/checkout from 3.3.0 to 3.4.0 by @dependabot in #381
- Bump github/codeql-action from 2.2.6 to 2.2.7 by @dependabot in #382
- Bump actions/setup-go from 3.5.0 to 4.0.0 by @dependabot in #380
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #385
- Bump actions/checkout from 3.4.0 to 3.5.0 by @dependabot in #388
- Bump actions/stale from 7.0.0 to 8.0.0 by @dependabot in #387
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #390
- Bump github/codeql-action from 2.2.7 to 2.2.9 by @dependabot in #386
- Bump ossf/scorecard-action from 2.1.2 to 2.1.3 by @dependabot in #392
- Bump anchore/sbom-action from 0.13.4 to 0.14.1 by @dependabot in #391
- Bump peter-evans/dockerhub-description from 3.3.0 to 3.4.1 by @dependabot in #397
- Bump actions/github-script from 6.4.0 to 6.4.1 by @dependabot in #394
- Bump github/codeql-action from 2.2.9 to 2.2.11 by @dependabot in #395
- Bump 8398a7/action-slack from 3.15.0 to 3.15.1 by @dependabot in #396
- Bump actions/checkout from 3.5.0 to 3.5.2 by @dependabot in #402
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in #400
- Bump github/codeql-action from 2.2.11 to 2.2.12 by @dependabot in #399
- Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.0 by @dependabot in #398
- Bump github/codeql-action from 2.2.12 to 2.3.0 by @dependabot in #405
- Bump docker/metadata-action from 4.3.0 to 4.4.0 by @dependabot in #404
- Bump github/codeql-action from 2.3.0 to 2.3.2 by @dependabot in #406
- Bump anchore/scan-action from 3.3.4 to 3.3.5 by @dependabot in #412
- Bump github/codeql-action from 2.2.4 to 2.3.3 by @dependabot in #411
- Bump anchore/sbom-action from 0.14.1 to 0.14.2 by @dependabot in #413
- Bump actions/setup-go from 4.0.0 to 4.0.1 by @dependabot in #415
- Bump github.com/prometheus/common from 0.42.0 to 0.43.0 by @dependabot in #408
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.0 by @dependabot in #416
- Bump github.com/prometheus/common from 0.43.0 to 0.44.0 by @dependabot in #418
- Bump github/codeql-action from 2.3.3 to 2.3.5 by @dependabot in #423
- Bump dependabot/fetch-metadata from 1.5.0 to 1.5.1 by @dependabot in #422
- Bump aws-actions/configure-aws-credentials from 2.0.0 to 2.1.0 by @dependabot in #426
- Bump github/codeql-action from 2.3.5 to 2.3.6 by @dependabot in #427
- Bump golangci/golangci-lint-action from 3.4.0 to 3.5.0 by @dependabot in #428
- Bump docker/metadata-action from 4.4.0 to 4.5.0 by @dependabot in #434
- Bump docker/login-action from 2.1.0 to 2.2.0 by @dependabot in #432
- Bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 by @dependabot in #433
- Bump actions/checkout from 3.5.2 to 3.5.3 by @dependabot in #430
- Bump docker/setup-qemu-action from 2.1.0 to 2.2.0 by @dependabot in #431
- Bump github/codeql-action from 2.3.6 to 2.20.0 by @dependabot in #438
- Bump goreleaser/goreleaser-action from 4.2.0 to 4.3.0 by @dependabot in #435
- Bump docker/setup-buildx-action from 2.5.0 to 2.7.0 by @dependabot in #440
- Bump docker/metadata-action from 4.5.0 to 4.6.0 by @dependabot in #436
- Bump aws-actions/configure-aws-credentials from 2.1.0 to 2.2.0 by @dependabot in #437
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #441
- Bump anchore/scan-action from 3.3.5 to 3.3.6 by @dependabot in #446
- Bump docker/build-push-action from 4.0.0 to 4.1.1 by @dependabot in #443
- Bump peter-evans/dockerhub-description from 3.4.1 to 3.4.2 by @dependabot in #445
- Bump github/codeql-action from 2.20.0 to 2.20.1 by @dependabot in #442
- Bump anchore/sbom-action from 0.14.2 to 0.14.3 by @dependabot in #444
- Bump github/codeql-action from 2.20.1 to 2.20.2 by @dependabot in #451
- Bump ossf/scorecard-action from 2.1.3 to 2.2.0 by @dependabot in #450
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in #448
- Bump docker/setup-buildx-action from 2.7.0 to 2.9.0 by @dependabot in #453
- Bump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 by @dependabot in #439
- Bump github/codeql-action from 2.20.2 to 2.20.3 by @dependabot in #454
- Bump release-drafter/release-drafter from 5.23.0 to 5.24.0 by @dependabot in #452
- Bump docker/setup-buildx-action from 2.9.0 to 2.9.1 by @dependabot in #459
- Bump github/codeql-action from 2.20.3 to 2.20.4 by @dependabot in #458
- Bump lucacome/draft-release from 0.2.1 to 0.2.2 by @dependabot in #464
- Bump github/codeql-action from 2.20.4 to 2.21.0 by @dependabot in #463
- Bump github/codeql-action from 2.21.0 to 2.21.2 by @dependabot in #466
- Bump golang from 1.20 to 1.21 in /build by @dependabot in #469
- Bump actions/setup-go from 4.0.1 to 4.1.0 by @dependabot in #470
- Bump github/codeql-action from 2.21.2 to 2.21.4 by @dependabot in #471
- Bump actions/dependency-review-action from 3.0.6 to 3.0.7 by @dependabot in #473
- Bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0 by @dependabot in #472
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #474
- Bump actions/dependency-review-action from 3.0.7 to 3.0.8 by @dependabot in #476
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #477
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #482
- Bump github/codeql-action from 2.21.4 to 2.21.5 by @dependabot in #478
- Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 by @dependabot in #475
- Bump aws-actions/configure-aws-credentials from 2.2.0 to 3.0.1 by @dependabot in #479
- Bump actions/checkout from 3.5.3 to 3.6.0 by @dependabot in #480
- Bump docker/setup-buildx-action from 2.9.1 to 2.10.0 by @dependabot in #481
- Bump github.com/nginxinc/nginx-plus-go-client from 0.10.0 to 0.11.0 by @dependabot in #483
- Bump actions/checkout from 3.6.0 to 4.0.0 by @dependabot in #485
- Bump sigstore/cosign-installer from 3.1.1 to 3.1.2 by @dependabot in #487
- Bump docker/setup-buildx-action from 2.10.0 to 3.0.0 by @dependabot in #490
- Bump docker/build-push-action from 4.1.1 to 5.0.0 by @dependabot in #492
- Bump DavidAnson/markdownlint-cli2-action from 11.0.0 to 12.0.0 by @dependabot in #486
- Bump github/codeql-action from 2.21.5 to 2.21.7 by @dependabot in #491
- Bump actions/upload-artifact from 3.1.2 to 3.1.3 by @dependabot in #488
- Bump reviewdog/action-actionlint from 1.37.1 to 1.38.0 by @dependabot in #489
- Bump actions/dependency-review-action from 3.0.8 to 3.1.0 by @dependabot in #497
- Bump docker/login-action from 2.2.0 to 3.0.0 by @dependabot in #496
- Bump lucacome/draft-release from 0.2.2 to 1.0.0 by @dependabot in #495
- Bump aws-actions/configure-aws-credentials from 3.0.1 to 4.0.0 by @dependabot in #494
- Bump goreleaser/goreleaser-action from 4.4.0 to 5.0.0 by @dependabot in #493
- Bump docker/metadata-action from 4.6.0 to 5.0.0 by @dependabot in #499
- Bump docker/setup-qemu-action from 2.2.0 to 3.0.0 by @dependabot in #498
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #500
- Bump github.com/nginxinc/nginx-plus-go-client from 0.11.0 to 1.0.0 by @dependabot in #503
- Bump github/codeql-action from 2.21.7 to 2.21.8 by @dependabot in #502
- Bump reviewdog/action-actionlint from 1.38.0 to 1.39.0 by @dependabot in #501
- Bump actions/checkout from 4.0.0 to 4.1.0 by @dependabot in #511
- Bump DavidAnson/markdownlint-cli2-action from 12.0.0 to 13.0.0 by @dependabot in #510
- Bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0 by @dependabot in #515
- Bump github/codeql-action from 2.21.8 to 2.21.9 by @dependabot in #514
- Bump ossf/scorecard-action from 2.2.0 to 2.3.0 by @dependabot in #516
- Bump reviewdog/action-actionlint from 1.39.0 to 1.39.1 by @dependabot in #519
- Bump github/codeql-action from 2.21.9 to 2.22.1 by @dependabot in #517
- Bump aws-actions/configure-aws-credentials from 4.0.0 to 4.0.1 by @dependabot in #518
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #520
- Bump golang.org/x/net from 0.10.0 to 0.17.0 by @dependabot in #521
- Bump github/codeql-action from 2.22.1 to 2.22.3 by @dependabot in #523
- Bump Go to 1.21.3 by @lucacome in #527
- Bump github.com/prometheus/common from 0.44.0 to 0.45.0 by @dependabot in #529
- Bump github.com/nginxinc/nginx-plus-go-client from 1.0.0 to 1.1.0 by @dependabot in #528
- Bump actions/checkout from 4.1.0 to 4.1.1 by @dependabot in #534
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #535
- Bump github/codeql-action from 2.22.3 to 2.22.4 by @dependabot in #532
- Bump lucacome/draft-release from 1.0.0 to 1.0.1 by @dependabot in #531
- Bump ossf/scorecard-action from 2.3.0 to 2.3.1 by @dependabot in #533
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #537
- Bump github.com/nginxinc/nginx-plus-go-client from 1.1.0 to 1.2.0 by @dependabot in #547
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #542
- Bump sigstore/cosign-installer from 3.1.2 to 3.2.0 by @dependabot in #546
- Bump actions/github-script from 6.4.1 to 7.0.0 by @dependabot in #545
- Bump github/codeql-action from 2.22.4 to 2.22.6 by @dependabot in #548
- Bump actions/dependency-review-action from 3.1.0 to 3.1.3 by @dependabot in #544
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #550
- Bump github.com/alecthomas/kingpin/v2 from 2.3.2 to 2.4.0 by @dependabot in #556
- Bump anchore/scan-action from 3.3.6 to 3.3.7 by @dependabot in #555
- Bump actions/github-script from 7.0.0 to 7.0.1 by @dependabot in #553
- Bump anchore/sbom-action from 0.14.3 to 0.15.0 by @dependabot in #551
- Bump docker/build-push-action from 5.0.0 to 5.1.0 by @dependabot in #552
- Bump DavidAnson/markdownlint-cli2-action from 13.0.0 to 14.0.0 by @dependabot in #559
- Bump github/codeql-action from 2.22.6 to 2.22.8 by @dependabot in #558
- Bump anchore/sbom-action from 0.15.0 to 0.15.1 by @dependabot in #566
- Bump actions/dependency-review-action from 3.1.3 to 3.1.4 by @dependabot in #565
- Bump docker/metadata-action from 5.0.0 to 5.3.0 by @dependabot in #563
- Bump anchore/scan-action from 3.3.7 to 3.3.8 by @dependabot in #564
- Bump actions/setup-go from 4.1.0 to 5.0.0 by @dependabot in #571
New Contributors
- @step-security-bot made their first contribution in #305
- @kkirsche made their first contribution in #358
- @pre-commit-ci made their first contribution in #361
- @jongwooo made their first contribution in #368
- @sheharyaar made their first contribution in #540
- @haywoodsh made their first contribution in #530
- @brandon1024 made their first contribution in #539
Full Changelog: v0.11.0...v1.0.0
Upgrade
- Use the v1.0.0 image from our DockerHub, GitHub Container, Amazon ECR Public Gallery or Quay.io.
- Download the latest binaries from the GitHub releases page.
- Update to the latest version with
brew upgrade nginx-prometheus-exporter
orsnap refresh nginx-prometheus-exporter
.
Compatibility
- NGINX 0.1.18 or newer.
- NGINX Plus R19 or newer.