Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Place a endpoint from OTel in maintenance mode

Kenny_Gillette
DynaMight Leader
DynaMight Leader

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:

Service ingest channels: Traces (Ingest)
Kenny_Gillette_0-1765978150674.png

If I open endpoint in a notebook, here is result,

FETCH spans
| filter `dt.entity.service` == "SERVICE-*****************"
| filter `endpoint.name` == "query.**********"

 

Thanks,

 
Dynatrace Certified Professional
9 REPLIES 9

Kenny_Gillette
DynaMight Leader
DynaMight Leader

Anybody got ideas?

Dynatrace Certified Professional

Kenny_Gillette
DynaMight Leader
DynaMight Leader

@AdrianaVillela ever done this?

Dynatrace Certified Professional

lubrman
Mentor

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.

Unless I am missing something, can't add tag to endpoints in services.  Even requests in a service that has oneagent.  

Dynatrace Certified Professional

Not on endpoints, but yes on services.

correct.  I don't want the whole service in maintenance.  I want the endpoint.

Dynatrace Certified Professional

Then please use tagging on SERVICE_METHOD.

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"
}
]
}
}

I'm not sure that this will work. In my experience it's not possible to tag service_methods and groups. 

michiel_otten_0-1767623864558.png

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

#Performance matter!

Featured Posts