cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Adi_10
Guide

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 ?

 

15 REPLIES 15

Esam_Eid
Pro

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 

Dynatrace Certified Professional

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

MSSQL13.MSSQLSERVER

then i have added the host in management zone.

Peter_Youssef
Leader

Hi @Adi_10 

As simple as that:
For Tagging rules: 

Tips && Tricks:

For Management Zone:

Best Practices:

Hoping it helps.

BR,

Peter

Episode 8 of our #Dynatrace Community practices focuses on using Auto Tagging entities based on their onboarding timestamp for better reporting, filtering, and suppressing alerts during initial setup through tag-based maintenance windows. This session and live demos are presented by Chad Turner ...
Episode 8 of our #Dynatrace Community practices focuses on using Auto Tagging entities based on their onboarding timestamp for better reporting, filtering, and suppressing alerts during initial setup through tag-based maintenance windows. This session and live demos are presented by Chad Turner ...

Peter_Youssef
Leader

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

Peter_Youssef
Leader

Hi @Adi_10 

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

BR,

Peter

Peter_Youssef
Leader

PacoPorro
Dynatrace Leader
Dynatrace Leader

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,

 

PacoPorro
Dynatrace Leader
Dynatrace Leader

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 - 

Adi_10_0-1734947932374.png

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

Adi_10_2-1734947979881.png

 

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:

2024-12-23_14h33_20.png

BR,

Peter

 

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

 

Abidyaseen
Advisor

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-c...

Featured Posts