Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Question about custom metrics for application insight #87

Open
mrdotmoon opened this issue Feb 7, 2020 · 1 comment
Open

Question about custom metrics for application insight #87

mrdotmoon opened this issue Feb 7, 2020 · 1 comment

Comments

@mrdotmoon
Copy link

We have multiple services running in k8s, and all of them report rps to application insight. Will hpa scale based on service's own rps?

@RomanDvorsky
Copy link

Hi,
I would extend this question - it seems that you can use just one AppIsights per cluster? So all microservices hosted in the cluster have to log into the same AppInsights and you can differentiate service by using the applicationID in the customer metrics, right?

apiVersion: azure.com/v1alpha2
kind: CustomMetric
metadata:
  name: rps
spec:
  metric:
    metricName: performanceCounters/requestsPerSecond
    applicationID: <?micro service id?>

The issue we do have is that we have app insights per service therefore we do cannot use this solution, right?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants