1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-16 09:16:38 +00:00
prometheus-operator/test/instrumented-sample-app
Simon Pasquier 91bf2091c7
chore: update golangci-lint to v1.53.1 (#5633)
* chore: update golangci-lint to v1.53.1

* chore: resolve new linter errors

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-06-06 14:47:01 +02:00
..
.gitignore test/instrumented-sample-app: build image for amd64 and arm64 2022-09-19 16:03:26 +02:00
Dockerfile test/instrumented-sample-app: build image for amd64 and arm64 2022-09-19 16:03:26 +02:00
main.go chore: update golangci-lint to v1.53.1 (#5633) 2023-06-06 14:47:01 +02:00
Makefile test/instrumented-sample-app: build image for amd64 and arm64 2022-09-19 16:03:26 +02:00
README.md test/instrumented-sample-app: build image for amd64 and arm64 2022-09-19 16:03:26 +02:00
VERSION pkg/prometheus: Enable users to configure bearer token from secret 2019-10-07 13:07:05 +02:00

This directory contains a sample application instrumented for Prometheus. It is used by the end-to-end tests to verify that Prometheus can scrape metrics using different authentication methods such as bearer tokens, mTLS and Basic-Auth.

The program is available at quay.io/prometheus-operator/instrumented-sample-app:latest.

Updating the image on quay.io

The image requires very few updates since the program is very simple and only used for testing.

Pre-requisites:

  • Credentials to push the image to quay.io/prometheus-operator/instrumented-sample-app.
  • Buildah CLI + the qemu-user-static package.

Running make manifest should be all that is needed.