microsoft / Application-Insights-Istio-Adapter

Application Insights adapter for Istio's Mixer which enables Application Insights telemetry collection for applications within Istio-enabled Kubernetes clusters.
MIT License
24 stars 11 forks source link

Azure Application Insights for AKS not working #15

Open pbeohar opened 2 years ago

pbeohar commented 2 years ago

Does this Setup allow the AKS Pod request logs to appear in the application insights ? My use case is to get the pods request logs of a third party service in the application insights 'request' table.

I enabled istio-injection for my application pods using istio-injection=enabled label to my namespaces kubectl label namespace <my-app-namespace> istio-injection=enabled

I have followed every step mentioned in the SETUP.md file but it doesn't seem to work.

I am unable to see data in the application insights. I see below from application insights adapter.

2022/04/14 16:17:06.656|INFO|We will listen for Istio's Mixer data on 0.0.0.0:6789  
2022/04/14 16:17:06.836|INFO|The library is running  
2022/04/14 16:17:06.846|INFO|Istio's Mixer input: [ConnectionCount: 0, RequestsReceived: 0, InstancesSucceeded: 0, InstancesFailed: 0]  
2022/04/14 16:18:06.850|INFO|Istio's Mixer input: [ConnectionCount: 0, RequestsReceived: 0, InstancesSucceeded: 0, InstancesFailed: 0]  
2022/04/14 16:19:06.853|INFO|Istio's Mixer input: [ConnectionCount: 0, RequestsReceived: 0, InstancesSucceeded: 0, InstancesFailed: 0]  
2022/04/14 16:20:06.856|INFO|Istio's Mixer input: [ConnectionCount: 0, RequestsReceived: 0, InstancesSucceeded: 0, InstancesFailed: 0]  
2022/04/14 16:21:06.856|INFO|Istio's Mixer input: [ConnectionCount: 0, RequestsReceived: 0, InstancesSucceeded: 0, InstancesFailed: 0] 

When I try troubleshooting the steps mentioned, In Step 7, I get the following error -

$ kubectl get pods -n istio-system -l "istio=mixer,app=telemetry"
No resources found in istio-system namespace.

Do we need to have istio-mixer enabled/ deployed externally ? Am I missing any configuration ?