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

Question: Custom Metrics #9

Open
cferrera opened this issue Nov 18, 2019 · 1 comment
Open

Question: Custom Metrics #9

cferrera opened this issue Nov 18, 2019 · 1 comment
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@cferrera
Copy link

Hey all 👋

I'm kinda new to this so I'm not sure if this question will make sense, sorry if it doesn't.

I'm looking to integrate specific metrics on HPA (Horizontal Pod Autoscaler) from K8s, but since these metrics expose all topics/groups/etc/etc together it won't fit very well.
Is there a way to create/query custom metrics?

minReplicas: 1 maxReplicas: 3 metrics: - type: Pods pods: metricName: CONSUMER_LAG_FROM_GROUP_ID_METRIC targetAverageValue: 100

Scaling up based on consumer lag from specific group id

Is this looking possible?

Thank you.

@weeco
Copy link
Member

weeco commented Nov 18, 2019

Hey,
I haven't tried the HPA along with prometheus metrics and therefore I can't answer your question. I'll leave this issue opened for some, maybe someone else can help you.

@weeco weeco added help wanted Extra attention is needed question Further information is requested labels Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants