Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow customizing the server name #4683

Closed
austin987 opened this Issue Oct 1, 2018 · 4 comments

Comments

Projects
None yet
3 participants
@austin987
Copy link

austin987 commented Oct 1, 2018

Currently, it's hardcoded:

<title>Prometheus Time Series Collection and Processing Server</title>

as Prometheus Time Series Collection and Processing Server

I'd like the ability to customize it with my own title. In particular, I'd like to show the current environment, so I can distinguish between different instances.

So for example:
'Dev Prometheus Server
Prod Prometheus Server

Noticed while running app-metrics/prometheus-2.3.2, but the relevant code is unchanged in 2.4.2.

@achiuBAE

This comment has been minimized.

Copy link
Contributor

achiuBAE commented Nov 7, 2018

Hi, is anyone working on this one? If not, could I work on it?

@achiuBAE

This comment has been minimized.

Copy link
Contributor

achiuBAE commented Nov 7, 2018

What would be the optimal way to implement this? Through the config file, or through the flag? I see the flags are purely for configuring immutable system parameters, so i'm guessing the flag wouldn't be the way?
Or even through the front end?

Thanks

@austin987

This comment has been minimized.

Copy link
Author

austin987 commented Nov 7, 2018

IMO config file or flag is fine. Front end would not be preferred, as that's harder to automate ;)

@austin987

This comment has been minimized.

Copy link
Author

austin987 commented Feb 7, 2019

Fixed by a9050c4

@austin987 austin987 closed this Feb 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.