[package]
title = "Kit Telemetry"
category = "Telemetry"
version = "0.1.0"
description = "Telemetry for Omniverse Kit."
authors = ["NVIDIA"]
keywords = ["telemetry", "structured logging"]

[core]
order = -1000

[[python.module]]
name = "omni.kit.telemetry"

[[native.plugin]]
path = "bin/*.plugin"

[dependencies]
"omni.kit.pip_archive" = {}

[settings]
telemetry.logging.warnFilter = [ "*" ]
telemetry.enableNVDF = true
# enable this following option to send to the 'test' NVDF endpoint instead.
# telemetry.nvdfTestEndpoint = true

# Enable sending stack traces to Sentry
telemetry.enableSentry = false

[[test]]
# in the tests we'll be intentionally emitting error and fatal messages that will need to be
# ignored.  List their patterns here.
stdoutFailPatterns.exclude = [
    "*error log message*",
    "*error apple muffin*",
    "*fatal log message*",
    "*fatal apple muffin*"
]

# the privacy settings for internal builds needs to be overridden so we can more reliably
# retrieve the session ID for some of the tests.
args = [
    "--/privacy/externalBuild=false",
    "--/exts/omni.kit.telemetry/skipDeferredStartup=true",
]

pyCoverageEnabled = false

pythonTests.unreliable = [
    "*test_sysinfo_messages" # OM-52280
]
