这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Feature request: Configurable Bosun Hostname #2438

@tdinucci

Description

@tdinucci

Short description

Bosun currently uses the host name as part of the key when storing its state and metrics in its store. When running it in Docker, the host name will be the container ID and change frequently, leaving a lot of old state in the database which never gets cleaned up.

Allow the user to specify the name of the Bosun instance which can be used instead of the host name.

How this feature will help you/your organisation

See above

Possible solution or implementation details

Use the existing Hostname configuration setting as the instances hostname. If this has not been set then continue to use the OS hostname as at present.

Strictly speaking, this would be a breaking change as the Hostname configuration setting is already in use for constructing template links. This feels like quite a niche feature and may not even be used so the proposal is that we don't add another new config flag (which would have a confusing name). This should be clearly stated in the release note though. Plus we are planning on asking the community about the features they use prior to cutting our next release.

Example/links if any

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions