30 Nov 2018 11:55 AM - last edited on 30 Aug 2022 10:59 AM by MaciejNeumann
Hi,
We have created automatic tag for tagging services, we are tagging all services that are running on a host. We pulled the services list form API call and found that all the services do not have tag associated with them.
When we later dig in, those are the queues which are not tagged. When we search the queue in global search bar , it show the queue and directly take to smartscape. It is not showing any details about the queue.In the URL , they are having entity id Starts with QUEUE- but in the API details all the queue are having entity id Starts with SERVICE-.
Is there a way we can tag these queues and why we have different entity id in API and URL.
See the rule for service tag
Thanks
Suresh
Solved! Go to Solution.
30 Nov 2018 12:01 PM
Hi,
You want to tag a services that sends specific queues?
or you want to tag the queues?
R.
30 Nov 2018 12:06 PM
Hi,
We want to tag the queues, service is already tagged.
Thanks
Suresh
30 Nov 2018 12:20 PM
You can use the Request Atribute on the method that handles the queue and find it in method argument or return value, which allows you to retrieve the queue value to use it in request atribute
Then you can use the regex to return the queue name.
R.
30 Nov 2018 01:06 PM
Hi Radoslaw,
Well request attribute might help me to tag the requests but that will not help to tag the whole queue.
I am bit confused about the different entity ID return in service API call and when looking directly in the URL. It should not returns queues as service. Do you have any idea about this.
In the service API calls queues are listed as services so I thought those should be tagged as a services.
Thanks
30 Nov 2018 01:41 PM
Can you share a screenshot of how these queues appear on your screen?
30 Nov 2018 01:57 PM
If I understand you well, in the list of services you see queues and these queues are also visible on the Smartscape, right?
Unfortunately, the queues themselves can not be tagged even if the API returns it as a service.
Generally, you can tag services which are detected on the monitoring hosts. The exception is the Databases because are create from JDBC or ADO.NET
However, please show how you see it? (as I wrote a post above)
30 Nov 2018 02:15 PM
Hi,
ActiveMQ Queue Listener is the service that is listening to these queues. Yes, I can see them in smartScape. Following are the queues that I want to tag with a tag that is applied to this service which I have grayed out.
This is a problem to us if queues are shown as service in API and we left them without tagged. If those are not shown as service in API then it will not be a problem.
30 Nov 2018 04:27 PM
Unfortunately, you can not tag individual queues.
You can tag only the listener or you can tag specific PurePaths containing selected queues.
01 Dec 2018 09:22 AM
Hi,
Thanks for the confirmation.
Is that something we can expect in future.
01 Dec 2018 10:49 AM
Queues in API can be displayed as service in the same way as Database is. Databases are also services detected from application endpoint, not monired directly. But databases has their own dashboards so they can be tagged. Queues are also detected as services because of data of model that dynatrace is using I think. But because you cannot monitor and present queue in the same level as database, you cannot add tags to them as @Radosław J. said.