Skip to content

Commit

Permalink
OTEL: Collector can be en/disabled via omd config
Browse files Browse the repository at this point in the history
CMK-19626

Change-Id: I6e0c9262bd2a35ce7c0b52adb080cb040192273d
  • Loading branch information
si-23 committed Nov 25, 2024
1 parent b94c567 commit 6529b58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/integration/omd/test_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ def test_hooks(site: Site) -> None:
"TRACE_JAEGER_ADMIN_PORT",
]

if site.version.is_cloud_edition() or site.version.is_managed_edition():
hooks += [
"OPENTELEMETRY_COLLECTOR",
]

installed_hooks = os.listdir(site.root / "lib" / "omd" / "hooks")

assert sorted(hooks) == sorted(installed_hooks)

0 comments on commit 6529b58

Please sign in to comment.