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

Fix typo in target label for openfaas-function-pods job #1222

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

welteki
Copy link
Member

@welteki welteki commented Aug 22, 2024

Description

Fix a typo in the kubernetes_namespace target label for the openfaas-function-pods job.

Why is this needed?

  • I have raised an issue to propose this change (required)

Fixes an issue where the namespace was missing in the function_name label which made it impossible to use custom metrics from function pods in autoscaling recording rules.

Who is this for?

What company is this for? Are you listed in the ADOPTERS.md file?

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
@alexellis alexellis merged commit f9622cf into openfaas:master Aug 22, 2024
3 checks passed
alexellis added a commit that referenced this pull request Aug 22, 2024
There was a typo, which was fixed in #1222 when emiting the
label for the namespace of a Pod which is required for custom
scaling, a new feature. This change is only required if you
wish to test custom scaling with metrics scraped directly from
the function Pod.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
@welteki welteki deleted the fix-prometheus-cfg-typo branch August 22, 2024 08:00
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