I am working on connecting instrumentation of RequestHandlers with their OpenAPI operation IDs. The Operation IDs tend to differ based on request method -- usually something like getWidgetById for GET or updateWidget for PATCH. I want to do this by naming the Rule/Route using the Operation ID since they are semantically the same.
AFAICT, the route information is lost long before the RequestHandler instance is created. Am I missing something?
If there isn't any way to do this today, should I open an issue to add one?
A little background, I am working on sending metrics to a graphite/statsd backend using the OpenTelemetry.io stuff along with integrating with a co-workers OpenAPI request validation library. Historically we've used the request handler class name and request method to "name" the operation in metrics . This has a number of draw backs that I am trying to remove -- most notably, refactoring and renaming request handler classes results in changes to dashboards or requires that we manually rename whisper files.
Thanks, Dave.