Skip to content

Commit 8256c85

Browse files
committed
add docstring for is_agent_observability_enabled()
1 parent eadef68 commit 8256c85

File tree

1 file changed

+2
-1
lines changed
  • aws-opentelemetry-distro/src/amazon/opentelemetry/distro

1 file changed

+2
-1
lines changed

aws-opentelemetry-distro/src/amazon/opentelemetry/distro/_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
_logger: Logger = getLogger(__name__)
1111

12-
AGENT_OBSERVABILITY_ENABLED = "AGENT_OBSERVABIILTY_ENABLED"
12+
AGENT_OBSERVABILITY_ENABLED = "AGENT_OBSERVABILITY_ENABLED"
1313

1414

1515
def is_installed(req: str) -> bool:
@@ -27,4 +27,5 @@ def is_installed(req: str) -> bool:
2727

2828

2929
def is_agent_observability_enabled() -> bool:
30+
"""Is the Agentic AI monitoring flag set to true?"""
3031
return os.environ.get(AGENT_OBSERVABILITY_ENABLED, "false").lower() == "true"

0 commit comments

Comments
 (0)