Skip to content

Commit 3b5df68

Browse files
committed
add debug
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent 6ac25f0 commit 3b5df68

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/example-exporter-opentelemetry/oats-tests/agent/service_instance_id_check.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ def get(url):
3131
if not r["metric"]["service_name"] == "otelcol-contrib"
3232
}
3333
)
34+
35+
print("Instance ids found:")
3436
print(values)
37+
if len(values) > 1:
38+
print("More than one instance id found")
39+
print(res)
3540

3641
# both the agent and the exporter should report the same instance id
3742
assert len(values) == 1

0 commit comments

Comments
 (0)