Skip to content

Conversation

@jpraychev
Copy link
Contributor

@jpraychev jpraychev commented Oct 27, 2025

What this PR does / why we need it:
The PR fixes the metric.attributes.cluster dimensions to provide the whole hostname, as with the current parsing logic, only a subset (mainly only the api string) of the hostname is presented to the end user (on the respective backend). The information is not particularly useful if you want to determine which cluster the metric originates from, hence the current PR proposal:

For example, the following cluster https://api.c-123456.stage.kyma.ondemand.com, results in just api on the backend. The same goes for MCP cluster naming convention as well.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

Fixes hostname parsing logic

@maximiliantech maximiliantech self-requested a review November 4, 2025 12:04
* fix cluster name logic

* remove comment
@jpraychev
Copy link
Contributor Author

@christophrj Fixed the comment as requested by @maximiliantech

Copy link
Member

@maximiliantech maximiliantech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution @jpraychev 🚀

@maximiliantech maximiliantech merged commit 748fb9e into openmcp-project:main Nov 19, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants