Hi, I'm starting up my microservice and the servic...
# support
p
Hi, I'm starting up my microservice and the service is up and running but I dont see this service under Services tab on Signoz. OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:3301/" \ OTEL_RESOURCE_ATTRIBUTES=service.name=pgm_migration \ java -javaagent:/Users/parudr920/git/iddl-pgm-migration/opentelemetry-javaagent.jar \ -Dapplication.rds.jdbcUrl=jdbc:mysql://localhost:5000 \ -Dapplication_port=8096 \ -Deureka.client.enabled=false \ -Dlogging.level.ROOT=INFO \ -Dspring-boot.run.jvmArguments="-Xms2048m -Xmx4096m" \ -Dspring.profiles.active=dev,kafka,swagger,mysql,iddlvault \ -jar /Users/parudr920/git/iddl-pgm-migration/target/iddl-pgm-migration-0.0.1-SNAPSHOT.jar Below are the errors I see. [otel.javaagent 2024-06-24 115515:748 -0600] [OkHttp http://localhost:3301/...] WARN io.opentelemetry.exporter.internal.http.HttpExporter - Failed to export logs. Server responded with HTTP status code 405. Error message: Unable to parse response body, HTTP status message: Not Allowed [otel.javaagent 2024-06-24 115517:409 -0600] [OkHttp http://localhost:3301/...] WARN io.opentelemetry.exporter.internal.http.HttpExporter - Failed to export spans. Server responded with HTTP status code 405. Error message: Unable to parse response body, HTTP status message: Not Allowed 2024-06-24 115517.422 WARN 78775 --- [ main] iguration$LoadBalancerCaffeineWarnLogger : Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath. 2024-06-24 115517.555 INFO 78775 --- [ main] c.c.d.i.m.IddlPgmMigrationApplication : Started IddlPgmMigrationApplication in 133.944 seconds (JVM running for 135.639) [otel.javaagent 2024-06-24 115517:763 -0600] [OkHttp http://localhost:3301/...] WARN io.opentelemetry.exporter.internal.http.HttpExporter - Failed to export logs. Server responded with HTTP status code 405. Error message: Unable to parse response body, HTTP status message: Not Allowed [otel.javaagent 2024-06-24 115602:233 -0600] [OkHttp http://localhost:3301/...] WARN io.opentelemetry.exporter.internal.http.HttpExporter - Failed to export metrics. Server responded with HTTP status code 405. Error message: Unable to parse response body, HTTP status message: Not Allowed [otel.javaagent 2024-06-24 115702:237 -0600] [OkHttp http://localhost:3301/...] WARN io.opentelemetry.exporter.internal.http.HttpExporter - Failed to export metrics. Server responded with HTTP status code 405. Error message: Unable to parse response body, HTTP status message: Not Allowed [otel.javaagent 2024-06-24 115802:251 -0600] [OkHttp http://localhost:3301/...] WARN io.opentelemetry.exporter.internal.http.HttpExporter - Failed to export metrics. Server responded with HTTP status code 405. Error message: Unable to parse response body, HTTP status message: Not Allowed [otel.javaagent 2024-06-24 115902:233 -0600] [OkHttp http://localhost:3301/...] WARN io.opentelemetry.exporter.internal.http.HttpExporter - Failed to export metrics. Server responded with HTTP status code 405. Error message: Unable to parse response body, HTTP status message: Not Allowed any help is appreciated . Thanks
s
usually the endpoint is :4317 , you seem to try to send logs to the frontend app
👍 2