File tree 4 files changed +7
-8
lines changed
exporter/opentelemetry-exporter-prometheus-remote-write
src/opentelemetry/exporter/prometheus_remote_write
4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ Table of Contents
48
48
49
49
Installation
50
50
------------
51
- Prerequisite
51
+ Prerequisites
52
52
~~~~~~~~~~~~
53
53
1. Install the snappy c-library
54
54
**DEB **: ``sudo apt-get install libsnappy-dev ``
@@ -59,9 +59,6 @@ Prerequisite
59
59
60
60
**Windows **: ``pip install python_snappy-0.5-cp36-cp36m-win_amd64.whl ``
61
61
62
- 2. Install python-snappy
63
- `pip install python-snappy `
64
-
65
62
Exporter
66
63
~~~~~~~~
67
64
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ install_requires =
43
43
requests == 2.25.0
44
44
opentelemetry-api == 0.17.dev0
45
45
opentelemetry-sdk == 0.17.dev0
46
-
46
+ python-snappy >= 0.5.4
47
47
[options.packages.find]
48
48
where = src
49
49
Original file line number Diff line number Diff line change 17
17
from typing import Dict , Sequence
18
18
19
19
import requests
20
-
21
20
import snappy
21
+
22
22
from opentelemetry .exporter .prometheus_remote_write .gen .remote_pb2 import (
23
23
WriteRequest ,
24
24
)
Original file line number Diff line number Diff line change @@ -296,6 +296,8 @@ deps =
296
296
httpretty
297
297
298
298
commands_pre =
299
+ sudo apt-get install libsnappy-dev
300
+ pip install python-snappy
299
301
python -m pip install {toxinidir}/opentelemetry-python-core/opentelemetry-api
300
302
python -m pip install {toxinidir}/opentelemetry-python-core/opentelemetry-instrumentation
301
303
python -m pip install {toxinidir}/opentelemetry-python-core/opentelemetry-sdk
@@ -356,6 +358,8 @@ changedir =
356
358
tests/opentelemetry-docker-tests/tests
357
359
358
360
commands_pre =
361
+ sudo apt-get install libsnappy-dev
362
+ pip install python-snappy
359
363
pip install -e {toxinidir}/opentelemetry-python-core/opentelemetry-api \
360
364
-e {toxinidir}/opentelemetry-python-core/opentelemetry-instrumentation \
361
365
-e {toxinidir}/opentelemetry-python-core/opentelemetry-sdk \
@@ -373,8 +377,6 @@ commands_pre =
373
377
-e {toxinidir}/instrumentation/opentelemetry-instrumentation-system-metrics \
374
378
-e {toxinidir}/opentelemetry-python-core/exporter/opentelemetry-exporter-opencensus \
375
379
-e {toxinidir}/exporter/opentelemetry-exporter-prometheus-remote-write
376
- sudo apt-get install libsnappy-dev
377
- pip install python-snappy
378
380
docker-compose up -d
379
381
python check_availability.py
380
382
commands =
You can’t perform that action at this time.
0 commit comments