Topology Model for ingested traces

Seems you can add it through OTEL_RESOURCE_ATTRIBUTES env variable / or the resource setting - Triton Server Trace — NVIDIA Triton Inference Server

Not sure about what the deployment of triton looks like, I assume you have no option to add your code to the process to capture the pgi from the magic file for enrichment - see this for example.

Probably then the safest method to to periodically update the lookup in the collector.

Btw. Dynatrace Operator does already some metadata enrichment for you in the pod - see files in /var/lib/dynatrace/enrichment (available in cloudNativeFullStack and applicationOnly).  You can have at least some of the metadata such as pod id or cluster id which you can use then in the lookup. Can be useful in your case.