inspectit-ocelot
inspectit-ocelot copied to clipboard
[Question] - *I don't see incoming service requests*
I don't see incoming service requests
Service in java 17
What could be the problem?
I am using Agent version 2.5.0
Logs: 2024-10-16 16:11:35,672 INFO 158 --- [inspectIT] [ Thread-0] rocks.inspectit.ocelot.core.AgentImpl : Starting inspectIT Ocelot Agent... 2024-10-16 16:11:35,674 INFO 160 --- [inspectIT] [ Thread-0] rocks.inspectit.ocelot.core.AgentImpl : Version: 2.5.0 2024-10-16 16:11:35,675 INFO 161 --- [inspectIT] [ Thread-0] rocks.inspectit.ocelot.core.AgentImpl : Build Date: Tue Mar 14 06:59:31 UTC 2023 2024-10-16 16:11:35,676 INFO 162 --- [inspectIT] [ Thread-0] rocks.inspectit.ocelot.core.AgentImpl : OpenTelemetry was loaded in inspectIT classloader
. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )__ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' || .__|| ||| |_, | / / / /
=========||==============|/=////
:: Spring Boot :: (v3.1.2)
2024-10-16 16:11:36.366 [main] INFO c.o.m.a.base.LoanServiceApplication - Starting LoanServiceApplication v1.0-SNAPSHOT using Java 17.0.2 with PID 1 (/app/loan-service.jar started by root in /app) - 2024-10-16 16:11:36.368 [main] INFO c.o.m.a.base.LoanServiceApplication - The following 1 profile is active: "test" - 2024-10-16 16:11:36,478 INFO 964 --- [inspectIT] [ Thread-0] r.i.o.core.config.InspectitEnvironment : initializing file based configuration from dir: /app/inspectit-config/ 2024-10-16 16:11:36,560 INFO 1046 --- [inspectIT] [ Thread-0] r.i.o.core.config.InspectitEnvironment : Registered Configuration Sources: 2024-10-16 16:11:36,561 INFO 1047 --- [inspectIT] [ Thread-0] r.i.o.core.config.InspectitEnvironment : systemProperties 2024-10-16 16:11:36,561 INFO 1047 --- [inspectIT] [ Thread-0] r.i.o.core.config.InspectitEnvironment : systemEnvironment 2024-10-16 16:11:36,561 INFO 1047 --- [inspectIT] [ Thread-0] r.i.o.core.config.InspectitEnvironment : fileBasedConfig 2024-10-16 16:11:36,561 INFO 1047 --- [inspectIT] [ Thread-0] r.i.o.core.config.InspectitEnvironment : fileBasedConfig/inspectit-ocelot.yaml 2024-10-16 16:11:36,561 INFO 1047 --- [inspectIT] [ Thread-0] r.i.o.core.config.InspectitEnvironment : inspectitDefaults 2024-10-16 16:11:36,561 INFO 1047 --- [inspectIT] [ Thread-0] r.i.o.core.config.InspectitEnvironment : inspectitEnvironment 2024-10-16 16:11:36,620 WARN 1106 --- [inspectIT] [ Thread-0] c.BooleanToExporterEnabledStateConverter : You are using the deprecated Boolean-based style to define whether an exporter is enabled. This style will be invalid in future releases of InspectIT Ocelot. 2024-10-16 16:11:37.409 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode - 2024-10-16 16:11:37.411 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data JPA repositories in DEFAULT mode. - 2024-10-16 16:11:37.441 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 18 ms. Found 0 JPA repository interfaces. - 2024-10-16 16:11:37.465 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Multiple Spring Data modules found, entering strict repository configuration mode - 2024-10-16 16:11:37.466 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Bootstrapping Spring Data Redis repositories in DEFAULT mode. - 2024-10-16 16:11:37.480 [main] INFO o.s.d.r.c.RepositoryConfigurationDelegate - Finished Spring Data repository scanning in 2 ms. Found 0 Redis repository interfaces. - 2024-10-16 16:11:38,451 INFO 2937 --- [inspectIT] [ Thread-0] r.i.o.c.o.trace.CustomIdGenerator : Use of trace IDs with the default length (128 bits). 2024-10-16 16:11:38.455 [main] INFO o.s.b.w.e.tomcat.TomcatWebServer - Tomcat initialized with port(s): 8080 (http) - 2024-10-16 16:11:38.465 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"] - 2024-10-16 16:11:38.468 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] - 2024-10-16 16:11:38.468 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.11] - 2024-10-16 16:11:38.576 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext - 2024-10-16 16:11:38.576 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 2155 ms - 2024-10-16 16:11:38,684 INFO 3170 --- [inspectIT] [ Thread-0] r.i.o.c.i.c.ContextPropagationUtil : Using B3 format for context propagation. 2024-10-16 16:11:39,156 INFO 3642 --- [inspectIT] [ Thread-0] i.o.c.i.t.ClassTransformerProxyGenerator : Proxying ClassFileTransformer to : rocks.inspectit.ocelot.core.instrumentation.transformer.AsyncClassTransformer 2024-10-16 16:11:39.279 [main] INFO liquibase.database - Set default schema name to public - 2024-10-16 16:11:39,458 WARN 3944 --- [inspectIT] [ Thread-0] r.i.o.c.config.PropertyNamesValidator : The specified property 'inspectit.instrumentation.rules.http-client.apache.enabled' does not exist! 2024-10-16 16:11:39,458 WARN 3944 --- [inspectIT] [ Thread-0] r.i.o.c.s.AgentHealthManager : The agent status changed from OK (the agent is working properly) to WARNING (the agent has warning messages). 2024-10-16 16:11:39,459 WARN 3945 --- [inspectIT] [ Thread-0] r.i.o.c.config.PropertyNamesValidator : The specified property 'inspectit.instrumentation.rules.http-client.http-url-connection.enabled' does not exist! 2024-10-16 16:11:39,459 WARN 3945 --- [inspectIT] [ Thread-0] r.i.o.c.config.PropertyNamesValidator : The specified property 'inspectit.instrumentation.rules.http-client.okhttp.enabled' does not exist! 2024-10-16 16:11:39,460 WARN 3946 --- [inspectIT] [ Thread-0] r.i.o.c.config.PropertyNamesValidator : The specified property 'inspectit.instrumentation.rules.spring.rest-template.enabled' does not exist! 2024-10-16 16:11:39,460 WARN 3946 --- [inspectIT] [ Thread-0] r.i.o.c.config.PropertyNamesValidator : The specified property 'inspectit.instrumentation.rules.spring.webmvc.enabled' does not exist! 2024-10-16 16:11:39.554 [main] INFO liquibase.changelog - Reading resource: liquibase/db/changelog/202404031721_create_identifications_table.xml - 2024-10-16 16:11:39,612 INFO 4098 --- [inspectIT] [ Thread-0] r.i.o.c.o.OpenTelemetryControllerImpl : The service PrometheusExporterService was successfully registered. 2024-10-16 16:11:39,612 INFO 4098 --- [inspectIT] [ Thread-0] r.i.o.c.e.PrometheusExporterService : Starting Prometheus Exporter on 0.0.0.0:8888 2024-10-16 16:11:39,612 INFO 4098 --- [inspectIT] [ Thread-0] i.o.c.m.s.AbstractPollingMetricsRecorder : Enabling MemoryMetricsRecorder. 2024-10-16 16:11:39,613 INFO 4099 --- [inspectIT] [ Thread-0] i.o.c.m.s.AbstractPollingMetricsRecorder : Enabling ProcessorMetricsRecorder. 2024-10-16 16:11:39,613 INFO 4099 --- [inspectIT] [ Thread-0] r.i.o.c.m.system.GCMetricsRecorder : Enabling GC metrics recorder 2024-10-16 16:11:39,616 INFO 4102 --- [inspectIT] [ Thread-0] i.o.c.m.s.AbstractPollingMetricsRecorder : Enabling ThreadMetricsRecorder. 2024-10-16 16:11:39,617 INFO 4103 --- [inspectIT] [ Thread-0] i.o.c.m.s.AbstractPollingMetricsRecorder : Enabling DiskMetricsRecorder. 2024-10-16 16:11:39,617 INFO 4103 --- [inspectIT] [ Thread-0] i.o.c.m.s.AbstractPollingMetricsRecorder : Enabling ClassLoaderMetricsRecorder. 2024-10-16 16:11:39,617 INFO 4103 --- [inspectIT] [ Thread-0] r.i.o.c.c.p.h.HttpConfigurationPoller : Starting HTTP configuration polling service. 2024-10-16 16:11:39,618 INFO 4104 --- [inspectIT] [ Thread-0] o.c.c.p.f.ConfigurationDirectoriesPoller : Starting config directory polling service... 2024-10-16 16:11:39,647 INFO 4133 --- [inspectIT] [ Thread-0] r.i.o.c.o.OpenTelemetryControllerImpl : Successfully configured OpenTelemetry with tracing and metrics
Config
inspectit: exporters: metrics: prometheus: enabled: true host: 0.0.0.0 port: 8888 instrumentation: rules: # Инструментализация для Servlet API (входящие HTTP-запросы) servlet: enabled: true # Инструментализация для Spring Web и RestTemplate spring: enabled: true webmvc: enabled: true rest-template: enabled: true # Инструментализация для JDBC (взаимодействие с базой данных) jdbc: enabled: true # Инструментализация для HTTP-клиентов http-client: apache: enabled: true okhttp: enabled: true http-url-connection: enabled: true
Launch options
ENTRYPOINT java -Xms1g -Xmx2g \
-javaagent:/app/inspectit-ocelot-agent.jar \
-Dinspectit.config.file-based.path=/app/inspectit-config/ \
-jar /app/service.jar
Help please