export function tags_from_env_vars()

in src/common_tags.ts [17:26]


export function tags_from_env_vars(): Record<string, string> {
    /**
     * Extract common infrastructure tags from the Netflix environment variables, which are
     * specific to a process and thus cannot be managed by a shared SpectatorD instance.
     */
    const tags: Record<string, string> = {};
    add_non_empty(tags, "nf.container", "TITUS_CONTAINER_NAME");
    add_non_empty(tags, "nf.process", "NETFLIX_PROCESS_NAME");
    return tags;
}