Skip to content

Only include OTel traces for official API endpoints #27

Description

@gaurav

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions