genai-telemetry 1.0.0__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.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Kamal Singh Bisht
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,75 @@
1
+ Metadata-Version: 2.4
2
+ Name: genai-telemetry
3
+ Version: 1.0.0
4
+ Summary: Universal observability SDK for GenAI/LLM applications - supports Splunk, Elasticsearch, OpenTelemetry, Datadog, Prometheus, and more
5
+ Author: Kamal Singh Bisht
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/rootiq-ai/genai-telemetry
8
+ Project-URL: Repository, https://github.com/rootiq-ai/genai-telemetry
9
+ Keywords: genai,llm,observability,telemetry,splunk,elasticsearch,opentelemetry,datadog
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.8
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Requires-Python: >=3.8
20
+ Description-Content-Type: text/markdown
21
+ License-File: LICENSE
22
+ Dynamic: license-file
23
+
24
+ # GenAI Telemetry
25
+
26
+ Observability SDK for GenAI/LLM applications.
27
+
28
+ ## Supported Platforms
29
+
30
+ - Splunk
31
+ - Elasticsearch
32
+ - OpenTelemetry (Jaeger, Tempo, etc.)
33
+ - Datadog
34
+ - Prometheus
35
+ - Grafana Loki
36
+ - AWS CloudWatch
37
+ - Console
38
+ - File
39
+
40
+ ## Installation
41
+ ```bash
42
+ pip install genai-telemetry
43
+ ```
44
+
45
+ ## Quick Start
46
+ ```python
47
+ from genai_telemetry import setup_telemetry, trace_llm
48
+
49
+ # Splunk
50
+ setup_telemetry(
51
+ workflow_name="my-app",
52
+ exporter="splunk",
53
+ splunk_url="https://splunk:8088",
54
+ splunk_token="your-token"
55
+ )
56
+
57
+ # Elasticsearch
58
+ setup_telemetry(
59
+ workflow_name="my-app",
60
+ exporter="elasticsearch",
61
+ es_hosts=["http://localhost:9200"]
62
+ )
63
+
64
+ @trace_llm(model_name="gpt-4o", model_provider="openai")
65
+ def chat(message):
66
+ # Your LLM code here
67
+ pass
68
+ ```
69
+
70
+ ## License
71
+
72
+ MIT
73
+ ```
74
+
75
+ ---
@@ -0,0 +1,52 @@
1
+ # GenAI Telemetry
2
+
3
+ Observability SDK for GenAI/LLM applications.
4
+
5
+ ## Supported Platforms
6
+
7
+ - Splunk
8
+ - Elasticsearch
9
+ - OpenTelemetry (Jaeger, Tempo, etc.)
10
+ - Datadog
11
+ - Prometheus
12
+ - Grafana Loki
13
+ - AWS CloudWatch
14
+ - Console
15
+ - File
16
+
17
+ ## Installation
18
+ ```bash
19
+ pip install genai-telemetry
20
+ ```
21
+
22
+ ## Quick Start
23
+ ```python
24
+ from genai_telemetry import setup_telemetry, trace_llm
25
+
26
+ # Splunk
27
+ setup_telemetry(
28
+ workflow_name="my-app",
29
+ exporter="splunk",
30
+ splunk_url="https://splunk:8088",
31
+ splunk_token="your-token"
32
+ )
33
+
34
+ # Elasticsearch
35
+ setup_telemetry(
36
+ workflow_name="my-app",
37
+ exporter="elasticsearch",
38
+ es_hosts=["http://localhost:9200"]
39
+ )
40
+
41
+ @trace_llm(model_name="gpt-4o", model_provider="openai")
42
+ def chat(message):
43
+ # Your LLM code here
44
+ pass
45
+ ```
46
+
47
+ ## License
48
+
49
+ MIT
50
+ ```
51
+
52
+ ---