# Automatically applied tagging rule for database services

**URL:** <https://community.dynatrace.com/t/automatically-applied-tagging-rule-for-database-services/20180>\
**Category:** Open Q&A\
**Tags:** databases, services-classic, tagging\
**Created:** [March 29, 2019, 7:25am UTC](https://community.dynatrace.com/t/automatically-applied-tagging-rule-for-database-services/20180 "2019-03-29T07:25:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenjie\_zhu22](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@chenjie\_zhu22](https://community.dynatrace.com/u/chenjie_zhu22)\
**Post date:** [March 29, 2019, 7:25am UTC](https://community.dynatrace.com/t/automatically-applied-tagging-rule-for-database-services/20180/1 "2019-03-29T07:25:14Z")

</div>

There is no option in automatically applied tagging rule to propagate tags from service to service. However, it can be a very important option to have for tagging database services, giving the fact they are captured on application service side.

Our management zone rules rely on tags. ATM, it is very painful to manually tag the database services for an application in the scenarios such that multiple applications(MZ) access one database service, or one application accesses multiple database services.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [March 29, 2019, 7:20pm UTC](https://community.dynatrace.com/t/automatically-applied-tagging-rule-for-database-services/20180/2 "2019-03-29T19:20:23Z")

</div>

Right now you can use automatic tagging rules for databases, but tags cannot be applied by relationships. I agree with the fact, that it is difficult to maintain. Automatic tagging rule such as “database service used by any service with tag XYZ” would be awesome.

---

<div class="post-metadata">

**Author:** ![clas\_holst2](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@clas\_holst2](https://community.dynatrace.com/u/clas_holst2)\
**Post date:** [June 9, 2020, 12:33pm UTC](https://community.dynatrace.com/t/automatically-applied-tagging-rule-for-database-services/20180/3 "2020-06-09T12:33:00Z")

</div>

Did you come up with some workaround? I was thinking about API, but I cant find any way to loop through the related services, and even if possible, cant tag them based on that anyway…

---

<div class="post-metadata">

**Author:** ![alicia\_pepper](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alicia_pepper/32/7241_2.png) [@alicia\_pepper](https://community.dynatrace.com/u/alicia_pepper)\
**Post date:** [March 23, 2021, 5:25pm UTC](https://community.dynatrace.com/t/automatically-applied-tagging-rule-for-database-services/20180/4 "2021-03-23T17:25:16Z")

</div>

this is marked as the solution but nothing i find in the tool shows we can do this today.&nbsp; To your knowledge is this available now as function?

---

<div class="post-metadata">

**Author:** ![alicia\_pepper](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alicia_pepper/32/7241_2.png) [@alicia\_pepper](https://community.dynatrace.com/u/alicia_pepper)\
**Post date:** [March 24, 2021, 5:23pm UTC](https://community.dynatrace.com/t/automatically-applied-tagging-rule-for-database-services/20180/5 "2021-03-24T17:23:02Z")

</div>

Upvote&nbsp;[https://community.dynatrace.com/t5/Dynatrace-product-ideas/RFE-Automatically-applied-tagging-rule-for-database-services/idi-p/163346#M21593](https://community.dynatrace.com/post/163346#M21593)
