prometheus-community / prometheus-community/PushProx

Support for customized scrape endpoint instead of hard coded "/metrics"

Open
#58 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
811
Forks
154
PR merge metrics
No merged PRs in 30d

Description

In SpringBoot based uservices Prometheus endpoint is not necessary /metric but is is configured to something like /xx/prometheus. If health check use xx/status it is not possible to remove /xx prefix without breaking the health.
PushProx should provide command line parameter to configure non default metrics endpoint.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating PushProx's command-line configuration and the code that currently uses the hard-coded /metrics endpoint. Add a configurable non-default endpoint while preserving the default, then run the repository's existing tests and verify both default and customized paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.