Skip to content

Commit 77dfd9d

Browse files
committed
updated
Signed-off-by: saimedhi <saimedhi@amazon.com>
1 parent 141fbea commit 77dfd9d

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

opensearchpy/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@
133133
from .helpers.update_by_query import UpdateByQuery
134134
from .helpers.utils import AttrDict, AttrList, DslBase
135135
from .helpers.wrappers import Range
136+
from .metrics import Metrics, MetricsEvents
136137
from .serializer import JSONSerializer
137138
from .transport import Transport
138139

@@ -240,6 +241,8 @@
240241
"token_filter",
241242
"tokenizer",
242243
"__versionstr__",
244+
"Metrics",
245+
"MetricsEvents",
243246
]
244247

245248
try:

opensearchpy/metrics/__init__.py

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
#
3+
# The OpenSearch Contributors require contributions made to
4+
# this file be licensed under the Apache-2.0 license or a
5+
# compatible open source license.
6+
#
7+
# Modifications Copyright OpenSearch Contributors. See
8+
# GitHub history for details.
9+
10+
from .metrics import Metrics
11+
from .metrics_events import MetricsEvents
12+
13+
__all__ = [
14+
"Metrics",
15+
"MetricsEvents",
16+
]

0 commit comments

Comments
 (0)