observability
Class info¶
Classes¶
Name | Children | Inherits |
---|---|---|
ObservabilityRegistry llmling_agent.observability.observability_registry Registry for pending decorations and provider configuration. |
🛈 DocStrings¶
ObservabilityRegistry
¶
Registry for pending decorations and provider configuration.
Source code in src/llmling_agent/observability/observability_registry.py
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
|
configure_provider
¶
configure_provider(provider: ObservabilityProvider) -> None
Configure a new provider and apply tracking to all registered items.
When a new provider is configured, it will: 1. Get added to the list of active providers 2. Apply its tracking to all previously registered functions/tools/agents 3. Be available for immediate tracking of new registrations
The registry maintains a permanent list of what needs tracking, collected through decorators at import time. Each provider uses these registrations to know what to track.
Source code in src/llmling_agent/observability/observability_registry.py
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
|
register_action
¶
Register a function for action tracking.
Source code in src/llmling_agent/observability/observability_registry.py
77 78 79 80 81 82 83 84 85 86 |
|
register_agent
¶
Register a class for agent tracking.
Source code in src/llmling_agent/observability/observability_registry.py
57 58 59 60 61 62 63 64 65 |
|
register_providers
¶
register_providers(observability_config: ObservabilityConfig) -> None
Register and configure all observability providers.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
observability_config
|
ObservabilityConfig
|
Configuration for observability providers |
required |
Source code in src/llmling_agent/observability/observability_registry.py
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
|
register_tool
¶
Register a function for tool tracking.
Source code in src/llmling_agent/observability/observability_registry.py
67 68 69 70 71 72 73 74 75 |
|
track_action
¶
Register a function for action tracking.
Source code in src/llmling_agent/observability/decorators.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
|
track_agent
¶
Register a class for agent tracking.
Source code in src/llmling_agent/observability/decorators.py
15 16 17 18 19 20 21 22 23 24 25 26 |
|
track_tool
¶
Register a function for tool tracking.
Source code in src/llmling_agent/observability/decorators.py
29 30 31 32 33 34 35 36 37 38 39 40 |
|