# support

Doan Quang

02/05/2023, 12:51 PM
Hi everyone, I have a private aks cluster hosted on azure cloud. Then i create a VM with 4vcpu - 16Gb Mem configuration to initialize signoz using docker compose. Signoz working fine. Next, based on Java Spring Boot example project. I dockerized petclinic spring boot to send metrics to signoz for application monitoring purposes:
Copy code
FROM openjdk:8-jdk-alpine
COPY target/spring-petclinic-2.4.5.jar spring-petclinic-2.4.5.jar
COPY otel-agent/opentelemetry-javaagent.jar opentelemetry-javaagent.jar
ENV JAVA_TOOL_OPTIONS="-javaagent:/app/opentelemetry-javaagent.jar \
                      -Dotel.exporter.otlp.endpoint=<> \
ENTRYPOINT ["java", "-jar", "spring-petclinic-2.4.5.jar"]
And then i already deploy petclinic container into private aks cluster, Petclinic Pod is running then. However, I get logs in the petclinic pod starting that: [otel.javaagent 2023-02-04 094007:129 +0000] [OkHttp] ERROR io.opentelemetry.exporter.internal.grpc.OkHttpGrpcExporter - Failed export index. The request could not be fulfilled. Full error message: timeout Note: is the private address of the VM Signoz can not get the data from the petclinic pod Have you encountered this problem before? and is there any way to solve this problem? many thanks!

Srikanth Chekuri

02/06/2023, 3:13 AM
Can your petclinic app access the private VM? It seems like it is not reachable.

Ryan Yang

02/06/2023, 7:43 PM
Try seeing if you can hit your collector
Copy code
docker run -it --rm signoz/troubleshoot checkEndpoint --endpoint=<signoz collector address>

Doan Quang

02/08/2023, 1:58 PM
I think aks private cluster and my VM running on different vnet. Maybe i need to peering both to my VM can connect to the cluster.