Skip to content

Commit c589a35

Browse files
committed
Debug logs added
1 parent 163ed10 commit c589a35

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

middleware/exporter_config.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919

2020
# IMPORT APPROPRIATE EXPORTERS
2121

22+
print("[EXPORTER] Starting exporter configuration...")
23+
print(f"[EXPORTER] Package name: {__package_name__}")
24+
print(f"[EXPORTER] Package version: {__version__}")
25+
print("IS_K8S_VARIANT",IS_K8S_VARIANT)
26+
2227
if IS_K8S_VARIANT:
2328
# K8s variant - MUST use HTTP exporters
2429
try:

middleware/version.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11

22
"""Version and package information."""
3+
4+
print("[VERSION] Starting package detection...")
5+
36
try:
47
import pkg_resources
58
__version__ = pkg_resources.get_distribution("middleware-io").version
69
__package_name__ = "middleware-io"
10+
print(f"[VERSION] ✓ Found: {__package_name__} v{__version__}")
11+
712
except:
813
try:
914
import pkg_resources
1015
__version__ = pkg_resources.get_distribution("middleware-io-k8s").version
1116
__package_name__ = "middleware-io-k8s"
17+
print(f"[VERSION] ✓ Found: {__package_name__} v{__version__}")
18+
1219
except:
1320
__version__ = "unknown"
1421
__package_name__ = "middleware-io"

pyproject-k8s.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "middleware-io-k8s"
7-
version = "2.4.1rc28"
7+
version = "2.4.1rc29"
88
requires-python = ">=3.8"
99
description = "Middleware's APM tool enables Python developers to effortlessly monitor their applications, gathering distributed tracing, metrics, logs, and profiling data for valuable insights and performance optimization."
1010
authors = [{ name = "middleware-dev" }]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "middleware-io"
7-
version = "2.4.1rc28"
7+
version = "2.4.1rc29"
88
requires-python = ">=3.8"
99
description = "Middleware's APM tool enables Python developers to effortlessly monitor their applications, gathering distributed tracing, metrics, logs, and profiling data for valuable insights and performance optimization."
1010
authors = [{ name = "middleware-dev" }]

0 commit comments

Comments
 (0)