Currently traces are being generated for every query sent to this service, including non-extant endpoints. This is useful from an OTel perspective since they aren't connected to any other queries. Furthermore, / queries occur frequently as part of a health check and are similarly not useful. I'm not sure if /status traces are useful -- they're unconnected to the rest of Translator, so I'm inclined to say they shouldn't be traced, but if there's a good reason to keep them that would be fine too.
The only traces that are definitely useful are the official endpoints (https://nodenorm-es.ci.transltr.io/), which are:
/get_normalized_nodes (GET and POST)
/get_setid (GET and POST)
/get_semantic_types (GET)
/get_allowed_conflations (GET)
Currently traces are being generated for every query sent to this service, including non-extant endpoints. This is useful from an OTel perspective since they aren't connected to any other queries. Furthermore,
/queries occur frequently as part of a health check and are similarly not useful. I'm not sure if/statustraces are useful -- they're unconnected to the rest of Translator, so I'm inclined to say they shouldn't be traced, but if there's a good reason to keep them that would be fine too.The only traces that are definitely useful are the official endpoints (https://nodenorm-es.ci.transltr.io/), which are:
/get_normalized_nodes(GET and POST)/get_setid(GET and POST)/get_semantic_types(GET)/get_allowed_conflations(GET)