Setting up a demo Java app and collecting telemetry
Getting started
Sign up for Yandex Cloud and create a billing account:
- Navigate to the management console
and log in to Yandex Cloud or create a new account. - On the Yandex Cloud Billing
page, make sure you have a billing account linked and it has theACTIVEorTRIAL_ACTIVEstatus. If you do not have a billing account, create one and link a cloud to it.
If you have an active billing account, you can create or select a folder for your infrastructure on the cloud page
Learn more about clouds and folders here.
Setting up a demo app and telemetry delivery
In this example, you will run Spring PetClinic
You will be able to collect logs, traces, and metrics for JVM (class loading, CPU utilization, garbage collection), database connection pools, and HTTP endpoints without modifying your application code.
Viewing telemetry in Monium
-
On the Monium
home page, hover over Explore on the left and select the correct data type section:MetricsLogsTraces-
At the top, set the data search time period on the timeline.
-
In the search bar, enter a query to search for telemetry data:
-
project = <project_ID>: Select the project specified inx-monium-projectof the application's telemetry transmission configuration.This may be a cloud (
cloud__<cloud_ID>) or folder (folder__<folder_ID>) project, or another project. -
cluster = <cluster_name>: Select the name of the installation that runs your application. If no cluster is specified,cluster = defaultis used. -
service = <service_name>: Name of your application or service. You can use theOTEL_SERVICE_NAMEenvironment variable to provide it.If you do not see the required labels in the suggestions, you can enter them manually. However, the system most likely has not received data with these labels. For more on troubleshooting possible issues, see Data delivery troubleshooting.
-
-
Click Execute query or Execute.
The page will show data that matches the query.

More on metrics.
-
At the top, set the data search time period on the timeline.
-
In the search bar, enter a query to search for telemetry data:
-
project = <project_ID>: Select the project specified inx-monium-projectof the application's telemetry transmission configuration.This may be a cloud (
cloud__<cloud_ID>) or folder (folder__<folder_ID>) project, or another project. -
cluster = <cluster_name>: Select the name of the installation that runs your application. If no cluster is specified,cluster = defaultis used. -
service = <service_name>: Name of your application or service. You can use theOTEL_SERVICE_NAMEenvironment variable to provide it.If you do not see the required labels in the suggestions, you can enter them manually. However, the system most likely has not received data with these labels. For more on troubleshooting possible issues, see Data delivery troubleshooting.
-
-
Click Execute query or Execute.
The page will show data that matches the query.

More on logs.
-
At the top, set the data search time period on the timeline.
-
In the search bar, enter a query to search for telemetry data:
-
project = <project_ID>: Select the project specified inx-monium-projectof the application's telemetry transmission configuration.This may be a cloud (
cloud__<cloud_ID>) or folder (folder__<folder_ID>) project, or another project. -
cluster = <cluster_name>: Select the name of the installation that runs your application. If no cluster is specified,cluster = defaultis used. -
service = <service_name>: Name of your application or service. You can use theOTEL_SERVICE_NAMEenvironment variable to provide it.If you do not see the required labels in the suggestions, you can enter them manually. However, the system most likely has not received data with these labels. For more on troubleshooting possible issues, see Data delivery troubleshooting.
-
-
Click Execute query or Execute.
The page will show data that matches the query.

More on traces.
-
-
To view information about the data shard, select Shards on the left and then, the shard with your service name.