Skip to content

Commit c685f3e

Browse files
committed
fix: update copyright year, remove typing_extensions, drop observability from __init__
1 parent 32ba4a7 commit c685f3e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

solnlib/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
hec_config,
2525
log,
2626
net_utils,
27-
observability,
2827
orphan_process_monitor,
2928
pattern,
3029
server_info,
@@ -45,7 +44,6 @@
4544
"hec_config",
4645
"log",
4746
"net_utils",
48-
"observability",
4947
"orphan_process_monitor",
5048
"pattern",
5149
"server_info",

solnlib/observability.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2025 Splunk Inc.
2+
# Copyright 2026 Splunk Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -60,7 +60,6 @@
6060
import ssl
6161
import urllib.request
6262
from typing import Callable, Optional, Union
63-
from typing_extensions import TypeAlias
6463
import grpc
6564
from .splunkenv import get_conf_stanzas
6665
from opentelemetry.metrics import Instrument, Meter
@@ -75,7 +74,7 @@
7574
from opentelemetry.sdk.resources import Resource
7675
from opentelemetry.exporter.otlp.proto.grpc.metric_exporter import OTLPMetricExporter
7776

78-
_Logger: TypeAlias = Union[logging.Logger, logging.LoggerAdapter]
77+
_Logger = Union[logging.Logger, logging.LoggerAdapter]
7978

8079
_SPOTLIGHT_SIDECAR_NAME = "spotlight-collector"
8180
_SPOTLIGHT_SERVICE_NAME = "spotlight_telemetry"

0 commit comments

Comments
 (0)