103 lines
3.0 KiB
Cheetah
103 lines
3.0 KiB
Cheetah
[agent]
|
|
interval = "${MISSIONCORE_TELEMETRY_INTERVAL}"
|
|
flush_interval = "${MISSIONCORE_TELEMETRY_INTERVAL}"
|
|
metric_batch_size = 200
|
|
metric_buffer_limit = 2000
|
|
round_interval = true
|
|
omit_hostname = false
|
|
|
|
[global_tags]
|
|
node_id = "${MISSIONCORE_NODE_ID}"
|
|
contour_id = "${MISSIONCORE_CONTOUR_ID}"
|
|
agent_id = "${MISSIONCORE_AGENT_ID}"
|
|
|
|
[[inputs.cpu]]
|
|
percpu = false
|
|
totalcpu = true
|
|
report_active = true
|
|
|
|
[[inputs.mem]]
|
|
[[inputs.system]]
|
|
[[inputs.disk]]
|
|
ignore_fs = ["tmpfs", "devtmpfs", "devfs"]
|
|
[[inputs.net]]
|
|
[[inputs.win_perf_counters]]
|
|
[[inputs.win_perf_counters.object]]
|
|
ObjectName = "System"
|
|
Counters = ["System Up Time"]
|
|
Instances = ["------"]
|
|
Measurement = "win_system"
|
|
|
|
[[inputs.nvidia_smi]]
|
|
|
|
[[inputs.docker]]
|
|
endpoint = "npipe:////./pipe/docker_engine"
|
|
container_name_include = []
|
|
container_state_include = ["running", "exited", "restarting", "paused"]
|
|
|
|
[[inputs.http_response]]
|
|
urls = ["http://127.0.0.1:8000/v2/health/ready"]
|
|
response_timeout = "2s"
|
|
response_status_code = 200
|
|
name_override = "missioncore_triton_health"
|
|
|
|
[[inputs.prometheus]]
|
|
urls = ["http://127.0.0.1:8002/metrics"]
|
|
metric_version = 1
|
|
response_timeout = "2s"
|
|
namepass = [
|
|
"nv_inference_request_success",
|
|
"nv_inference_request_failure",
|
|
"nv_inference_count",
|
|
]
|
|
|
|
[[inputs.exec]]
|
|
commands = ['powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "C:\ProgramData\NDC\MissionCore\telemetry-agent\Get-NdcMissionCorePipelineTelemetry.ps1"']
|
|
timeout = "4s"
|
|
name_override = "missioncore_pipeline"
|
|
data_format = "json"
|
|
tag_keys = ["stage_id"]
|
|
json_string_fields = [
|
|
"stage_state",
|
|
"service_state",
|
|
"current_stage",
|
|
"active_request_id",
|
|
"collector_state",
|
|
"profile_name",
|
|
"input_state",
|
|
"wait_reason",
|
|
]
|
|
|
|
[[inputs.tail]]
|
|
files = ["D:\\NDC_MISSIONCORE\\runtime\\derived\\.perception-persistent-publish\\pipeline-telemetry*.jsonl"]
|
|
initial_read_offset = "saved-or-beginning"
|
|
watch_method = "poll"
|
|
max_undelivered_lines = 1000
|
|
character_encoding = "utf-8"
|
|
path_tag = ""
|
|
name_override = "missioncore_pipeline_event"
|
|
data_format = "value"
|
|
data_type = "string"
|
|
|
|
[[outputs.mqtt]]
|
|
startup_error_behavior = "retry"
|
|
servers = ["tcp://${MISSIONCORE_MQTT_HOST}:${MISSIONCORE_MQTT_PORT}"]
|
|
topic = "mission-core/v1/contours/${MISSIONCORE_CONTOUR_ID}/agents/${MISSIONCORE_AGENT_ID}/host"
|
|
username = "${MISSIONCORE_MQTT_USERNAME}"
|
|
password = "${MISSIONCORE_MQTT_PASSWORD}"
|
|
qos = 1
|
|
data_format = "json"
|
|
json_timestamp_units = "1s"
|
|
namedrop = ["missioncore_pipeline", "missioncore_pipeline_event"]
|
|
|
|
[[outputs.mqtt]]
|
|
startup_error_behavior = "retry"
|
|
servers = ["tcp://${MISSIONCORE_MQTT_HOST}:${MISSIONCORE_MQTT_PORT}"]
|
|
topic = "mission-core/v1/contours/${MISSIONCORE_CONTOUR_ID}/agents/${MISSIONCORE_AGENT_ID}/pipeline"
|
|
username = "${MISSIONCORE_MQTT_USERNAME}"
|
|
password = "${MISSIONCORE_MQTT_PASSWORD}"
|
|
qos = 1
|
|
data_format = "json"
|
|
json_timestamp_units = "1s"
|
|
namepass = ["missioncore_pipeline", "missioncore_pipeline_event"]
|