Skip to content
This repository was archived by the owner on Jul 11, 2022. It is now read-only.

Commit 58173eb

Browse files
authored
Move metrics.py into its own directory (#143)
Signed-off-by: Yuri Shkuro <[email protected]>
1 parent 0ce48a9 commit 58173eb

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ projects := jaeger_client crossdock
33
flake8 := flake8
44
COV_DIRS := $(projects:%=--cov %)
55
pytest_args := -s --tb short --cov-config .coveragerc $(COV_DIRS) tests
6-
pytest := $(clay_config) py.test $(pytest_args)
6+
pytest := py.test $(pytest_args)
77
sources := $(shell find $(projects) tests -name '*.py' | grep -v version.py | grep -v thrift_gen)
88

99
test_args := --cov-report term-missing --cov-report xml --junitxml junit.xml

jaeger_client/metrics/__init__.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright (c) 2018 Uber Technologies, Inc.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
from __future__ import absolute_import
16+
17+
from .metrics import MetricsFactory # noqa
18+
from .metrics import LegacyMetricsFactory # noqa
19+
from .metrics import Metrics # noqa

0 commit comments

Comments
 (0)