How can we configure the databases in the management zone, with and without tags?

1. How can we configure the databases in the management zone, with and without tags?

2. If we have to check the Host name for the Database,

then how to check?

where to check?

3. What journry dashboard ?

You can add it to the management zone using the database service name

if you install the oneagent in the db host. Then from the hosts menu you can find it. But if you install extension and configured the database monitoring most probably the extension dashboard will show you all the needed details

Hi, i have found in host db name with - Process name as -

MSSQL13.MSSQLSERVER

then i have added the host in management zone.

Hi @Adi_10

As simple as that:
For Tagging rules:

Tips && Tricks:

For Management Zone:

Best Practices:

Hoping it helps.

BR,

Peter

Hi @Adi_10

Regarding the database service monitoring:

  • It’s detected && monitored in Dynatrace through the app services calls that means when the monitored entities call a database it will be detected and monitored.
  • Upon detection > Under application observability > database services > select the service of your interest > under properties && tags you will find full details.

References:

Analyze DB:

Hoping it adds value.

KR,

Peter

Hi @Adi_10

For detailed info about DB monitoring in Dynatrace either classic or new Dynatrace, feel free to delve into:

BR,

Peter

Hi @Adi_10

Regarding the Dashboards and visualizations in Dynatrace, feel free to review:

Hoping it helps.

KR,

Peter

Hi @Adi_10

  • You can also check the service flow from the services that are calling the DB.
  • You can also check the backtrace as well for the DB.

Ref:

BR,

Peter

Using the entity selector you can do something like this
type(SERVICE),databaseName.exists(),toRelationships.calls(type(SERVICE),tag(XXXXX))

"database services called by services with tag XXXXX)

Hi @Adi_10

  • you can use the provided entity selector provided by @PacoPorro in management zone rules.
  • Regarding the db tagging rules, you can define it based on database service technology or database service name, .. more options to select from according to the actual monitored DBs properties under properties && tags section.

BR,

Peter

Got It, Thanks,

@Peter_Youssef @PacoPorro @Esam_Eid

I am currently facing issue as: - Installed one agent on window db host with running process name - MSSQL13.MSSQLSERVER but still not getting any database service names at - Under application observability > database services >

How can I make it appears? do i need extension to get data from DB to Dynatrace as database service,

Carefully read this doc entry

https://docs.dynatrace.com/docs/shortlink/database-detection#how-database-activity-is-monitored

“When OneAgent is installed on the host that runs your application server, Dynatrace ensures that all database statements are logged, as long as deep monitoring is active for the calling processes and the database request is appended to an existing PurePath® distributed trace. As soon as the first calls to your database are monitored, the Databases page is updated with the new database entry.”

I am getting the distributed traces for my application and webservices -

but service type database is empty getting no result for the selected management zone

Hi @Adi_10

Kindly check the storage and retention settings on the monitored environment to ensure there is no issue with the data retention as per the attached example:

BR,

Peter

Checked no issues here at monitoring environment, as other management zones are getting the data for DB services

type(SERVICE),databaseName.exists(),toRelationships.calls(type(SERVICE),tag(“XXXXX”))

the condition defines access rules based on entity relationships. Let’s break it down:

  1. type(SERVICE) – Filters entities to only include those of type “SERVICE.”
  2. databaseName.exists() – Ensures that the databaseName attribute exists (i.e., applies only to services linked to a database).
  3. toRelationships.calls(type(SERVICE),tag(“XXXXX”)) – Checks if the service calls another service that has the tag “XXXXX.”

this is simple rule to put in mgt zones and tags that will help you to add your db to related ones you can see more details on the below link

https://docs.dynatrace.com/docs/observe/applications-and-microservices/databases/database-services-classic/how-database-activity-is-monitored#how-database-activity-is-monitored