17 Dec 2025
01:31 PM
- last edited on
18 Dec 2025
07:31 AM
by
MaciejNeumann
Team,
Company has some OTel services. We would like to put certain OTel endpoints into maintenance mode. Has anybody done this before? If so, how?
Example:
If I open endpoint in a notebook, here is result,
FETCH spans
| filter `dt.entity.service` == "SERVICE-*****************"
| filter `endpoint.name` == "query.**********"
Thanks,
23 Dec 2025 06:39 PM
Anybody got ideas?
23 Dec 2025 06:47 PM
@AdrianaVillela ever done this?
05 Jan 2026 12:25 PM
Hi @Kenny_Gillette
Since you’re able to identify which services are produced by which entry point, you can assign them a tag, and then I can create a management zone based on that tag.
05 Jan 2026 01:28 PM
Unless I am missing something, can't add tag to endpoints in services. Even requests in a service that has oneagent.
05 Jan 2026 01:38 PM
Not on endpoints, but yes on services.
05 Jan 2026 01:46 PM
correct. I don't want the whole service in maintenance. I want the endpoint.
05 Jan 2026 01:57 PM
Then please use tagging on SERVICE_METHOD.
05 Jan 2026 02:00 PM - edited 05 Jan 2026 02:01 PM
You can retrieve them via the API call entities/{entityId} for the services where SERVICE_METHOD_GROUP is present, and from there you can determine the corresponding SERVICE_METHOD values.
{ "entityId": "SERVICE_METHOD-1", "type": "SERVICE_METHOD", "displayName": "getBonus", "firstSeenTms": 1738679285054, "lastSeenTms": 1767585536630, "properties": { "detectedName": "getBonus"
},
"tags": [], "icon": { "primaryIconType": "services"
},
"fromRelationships": { "isServiceMethodOf": [ {
"id": "SERVICE_METHOD_GROUP-C", "type": "SERVICE_METHOD_GROUP"
}
]
}
}
05 Jan 2026 02:39 PM
I'm not sure that this will work. In my experience it's not possible to tag service_methods and groups.
You also can't put a single endpoint in a management zone for the same reason as mentioned above. If you really want to exclude a single endpoint, you should / could focus on moving it to a different service via service detection.
You then move the endpoint out of the initial service and tag the newly created service. This enables you to put it in maintenance but of course moves it out of the performance of the initial Otel service.
KR.
Michiel
Featured Posts