beekeeper-observability-watsonx 2.0.0b1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- beekeeper_observability_watsonx-2.0.0b1/.gitignore +85 -0
- beekeeper_observability_watsonx-2.0.0b1/PKG-INFO +24 -0
- beekeeper_observability_watsonx-2.0.0b1/README.md +7 -0
- beekeeper_observability_watsonx-2.0.0b1/beekeeper/observability/watsonx/__init__.py +25 -0
- beekeeper_observability_watsonx-2.0.0b1/beekeeper/observability/watsonx/base.py +1461 -0
- beekeeper_observability_watsonx-2.0.0b1/beekeeper/observability/watsonx/custom_metric.py +493 -0
- beekeeper_observability_watsonx-2.0.0b1/beekeeper/observability/watsonx/supporting_classes/__init__.py +0 -0
- beekeeper_observability_watsonx-2.0.0b1/beekeeper/observability/watsonx/supporting_classes/credentials.py +137 -0
- beekeeper_observability_watsonx-2.0.0b1/beekeeper/observability/watsonx/supporting_classes/enums.py +145 -0
- beekeeper_observability_watsonx-2.0.0b1/beekeeper/observability/watsonx/supporting_classes/metric.py +84 -0
- beekeeper_observability_watsonx-2.0.0b1/beekeeper/observability/watsonx/utils/data_utils.py +31 -0
- beekeeper_observability_watsonx-2.0.0b1/beekeeper/observability/watsonx/utils/instrumentation.py +20 -0
- beekeeper_observability_watsonx-2.0.0b1/pyproject.toml +31 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
#IDE
|
|
10
|
+
.DS_Store
|
|
11
|
+
.idea
|
|
12
|
+
.vscode
|
|
13
|
+
|
|
14
|
+
# Distribution / packaging
|
|
15
|
+
.Python
|
|
16
|
+
build/
|
|
17
|
+
develop-eggs/
|
|
18
|
+
dist/
|
|
19
|
+
downloads/
|
|
20
|
+
eggs/
|
|
21
|
+
.eggs/
|
|
22
|
+
lib/
|
|
23
|
+
lib64/
|
|
24
|
+
parts/
|
|
25
|
+
sdist/
|
|
26
|
+
var/
|
|
27
|
+
wheels/
|
|
28
|
+
share/python-wheels/
|
|
29
|
+
*.egg-info/
|
|
30
|
+
.installed.cfg
|
|
31
|
+
*.egg
|
|
32
|
+
MANIFEST
|
|
33
|
+
|
|
34
|
+
# PyInstaller
|
|
35
|
+
# Usually these files are written by a python script from a template
|
|
36
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
37
|
+
*.manifest
|
|
38
|
+
*.spec
|
|
39
|
+
|
|
40
|
+
# Installer logs
|
|
41
|
+
pip-log.txt
|
|
42
|
+
pip-delete-this-directory.txt
|
|
43
|
+
|
|
44
|
+
# Unit test / coverage reports
|
|
45
|
+
htmlcov/
|
|
46
|
+
.tox/
|
|
47
|
+
.nox/
|
|
48
|
+
.coverage
|
|
49
|
+
.coverage.*
|
|
50
|
+
.cache
|
|
51
|
+
nosetests.xml
|
|
52
|
+
coverage.xml
|
|
53
|
+
*.cover
|
|
54
|
+
*.py,cover
|
|
55
|
+
.hypothesis/
|
|
56
|
+
.pytest_cache/
|
|
57
|
+
cover/
|
|
58
|
+
|
|
59
|
+
# Mkdocs documentation
|
|
60
|
+
docs/_build/
|
|
61
|
+
docs/api_reference/site/
|
|
62
|
+
|
|
63
|
+
# Ruff
|
|
64
|
+
.ruff_cache/
|
|
65
|
+
|
|
66
|
+
# PyBuilder
|
|
67
|
+
.pybuilder/
|
|
68
|
+
target/
|
|
69
|
+
|
|
70
|
+
# Jupyter Notebook
|
|
71
|
+
.ipynb_checkpoints
|
|
72
|
+
|
|
73
|
+
# pyenv
|
|
74
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
75
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
76
|
+
.python-version
|
|
77
|
+
|
|
78
|
+
# Environments
|
|
79
|
+
.env
|
|
80
|
+
.venv
|
|
81
|
+
env/
|
|
82
|
+
venv/
|
|
83
|
+
ENV/
|
|
84
|
+
env.bak/
|
|
85
|
+
venv.bak/
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: beekeeper-observability-watsonx
|
|
3
|
+
Version: 2.0.0b1
|
|
4
|
+
Summary: beekeeper observability watsonx integration
|
|
5
|
+
Author-email: Leonardo Furnielis <leonardofurnielis@outlook.com>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Requires-Python: <3.14,>=3.11
|
|
8
|
+
Requires-Dist: beekeeper-core<3.0.0,>=2.0.0b1
|
|
9
|
+
Requires-Dist: certifi<2026.3.0,>=2026.2.25
|
|
10
|
+
Requires-Dist: ibm-aigov-facts-client<1.1.0,>=1.0.105
|
|
11
|
+
Requires-Dist: ibm-watson-openscale<3.2.0,>=3.1.4
|
|
12
|
+
Requires-Dist: ibm-watsonx-ai<1.6.0,>=1.5.5
|
|
13
|
+
Requires-Dist: ipython==9.10.1
|
|
14
|
+
Provides-Extra: dev
|
|
15
|
+
Requires-Dist: ruff>=0.15.8; extra == 'dev'
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
|
|
18
|
+
# Beekeeper observability integration - watsonx
|
|
19
|
+
|
|
20
|
+
## Installation
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
pip install beekeeper-observability-watsonx
|
|
24
|
+
```
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
from beekeeper.observability.watsonx.base import (
|
|
2
|
+
WatsonxExternalPromptMonitor,
|
|
3
|
+
WatsonxPromptMonitor,
|
|
4
|
+
)
|
|
5
|
+
from beekeeper.observability.watsonx.custom_metric import (
|
|
6
|
+
WatsonxCustomMetricsManager,
|
|
7
|
+
)
|
|
8
|
+
from beekeeper.observability.watsonx.supporting_classes.credentials import (
|
|
9
|
+
CloudPakforDataCredentials,
|
|
10
|
+
IntegratedSystemCredentials,
|
|
11
|
+
)
|
|
12
|
+
from beekeeper.observability.watsonx.supporting_classes.metric import (
|
|
13
|
+
WatsonxMetricSpec,
|
|
14
|
+
WatsonxMetricThreshold,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
"CloudPakforDataCredentials",
|
|
19
|
+
"IntegratedSystemCredentials",
|
|
20
|
+
"WatsonxExternalPromptMonitor",
|
|
21
|
+
"WatsonxCustomMetricsManager",
|
|
22
|
+
"WatsonxMetricSpec",
|
|
23
|
+
"WatsonxMetricThreshold",
|
|
24
|
+
"WatsonxPromptMonitor",
|
|
25
|
+
]
|