Skip to content

Commit

Permalink
feat(presidio): instrument and export otel traces
Browse files Browse the repository at this point in the history
  • Loading branch information
qlonik committed Apr 29, 2024
1 parent 9f8527b commit f9e543c
Show file tree
Hide file tree
Showing 4 changed files with 766 additions and 488 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ spec:
containers:
- name: presidio
image: ghcr.io/dettanym/prose-presidio:main
env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: http://otlp.prose-system.svc.cluster.local:4318
resources:
requests:
cpu: 10m
Expand Down
4 changes: 4 additions & 0 deletions presidio/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ name = "pypi"
[packages]
flake8 = "*"
flask = "*"
opentelemetry-api = "*"
opentelemetry-exporter-otlp-proto-http = "*"
opentelemetry-instrumentation-flask = "*"
opentelemetry-sdk = "*"
phonenumbers = "*"
presidio-analyzer = "*"
presidio-anonymizer = "*"
Expand Down
Loading

0 comments on commit f9e543c

Please sign in to comment.