Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Arconia OpenTelemetry: Logging with Log4J2

Pre-requisites

  • Java 25
  • Podman/Docker

Running the application

Run the application as follows:

./gradlew bootRun

Alternatively, you can use the Arconia CLI:

arconia dev

Under the hood, the Arconia framework will automatically spin up a Grafana LGTM observability platform using Testcontainers (see Arconia Dev Services for more information).

The application will be accessible at http://localhost:8080.

Accessing Grafana

The application logs will show you the URL where you can access the Grafana observability platform.

...o.t.grafana.LgtmStackContainer: Access to the Grafana dashboard: http://localhost:38125

By default, logs, metrics, and traces are exported via OTLP using the HTTP/Protobuf format.

In Grafana, you can query the telemetry from the "Drilldown" and "Explore" sections.

Calling the application

You can call the application using httpie:

http http://localhost:8080/hello