-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #274 from sixwaaaay/sync
fix: update for open telemetry
- Loading branch information
Showing
3 changed files
with
38 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
FROM python:3.11-alpine | ||
COPY . /src | ||
RUN pip install elasticsearch && \ | ||
pip install mysql-replication && \ | ||
pip install opentelemetry-api && \ | ||
|
||
RUN pip install -r /src/requirements.txt | ||
|
||
RUN pip install opentelemetry-api && \ | ||
pip install opentelemetry-sdk && \ | ||
pip install opentelemetry-exporter-otlp-proto-http | ||
CMD ["python", "/src/cdc.py"] | ||
pip install opentelemetry-exporter-otlp-proto-http && \ | ||
pip install opentelemetry-distro | ||
|
||
RUN opentelemetry-bootstrap -a install | ||
|
||
ENTRYPOINT [ "opentelemetry-instrument", "python", "/src/cdc.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
certifi==2024.8.30 | ||
# via elastic-transport | ||
elastic-transport==8.15.0 | ||
# via elasticsearch | ||
elasticsearch==8.15.1 | ||
mysql-replication==1.0.9 | ||
packaging==24.1 | ||
# via mysql-replication | ||
pymysql==1.1.1 | ||
# via mysql-replication | ||
urllib3==2.2.3 | ||
# via elastic-transport |