Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add opentelemetry callback plugin #3091

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
53e40c5
Add opentelemetry callback plugin
v1v Jul 27, 2021
8943eb9
Apply suggestions from code review
v1v Aug 30, 2021
ed584c0
Formatting (text), booleans and renamed env variables
v1v Aug 30, 2021
d8f590d
This should be done in a future release
v1v Aug 30, 2021
4f40e41
Remove insecure in favour of the OTEL env variable. Add descriptions
v1v Aug 30, 2021
aafa3ea
Use OpenTelemetrySource
v1v Sep 1, 2021
60c9fb4
Move generate_distributed_traces
v1v Sep 1, 2021
3c02b2d
Move update_span_data and set_span_attribute
v1v Sep 1, 2021
f8542cb
Move finish_task
v1v Sep 1, 2021
275952f
Move start_task
v1v Sep 1, 2021
19eb608
Refactor to support UTs
v1v Sep 1, 2021
18fa3c8
Add first UT
v1v Sep 1, 2021
4902fa8
Fix codestyle
v1v Sep 1, 2021
1de93d4
opentelemetry callback entry in the botmeta
v1v Sep 1, 2021
a3b7cad
Fix linting
v1v Sep 2, 2021
5b1bcdd
Fix signature
v1v Sep 2, 2021
903e0b3
Mock methods
v1v Sep 2, 2021
3ccf15f
Use MagicMock
v1v Sep 2, 2021
8911872
Mock the methods
v1v Sep 2, 2021
f5d97f1
UT for transform_to_boolean_or_default
v1v Sep 2, 2021
a326317
Fix linting
v1v Sep 2, 2021
8aeedf0
Set test data
v1v Sep 2, 2021
999e751
Mock _time_ns
v1v Sep 2, 2021
402c53d
Exclude tests for python <= 3.6
v1v Sep 2, 2021
6cc1f3d
Remove obsoleted setup task type configuration
v1v Sep 2, 2021
2d03959
Remove unused docs
v1v Sep 2, 2021
b3627c1
Apply suggestions from code review
v1v Sep 6, 2021
13ce9cd
Fix docs
v1v Sep 6, 2021
3140449
unrequired logic that was originally took from https:/ans…
v1v Sep 6, 2021
5c3502b
Use raise_from for the required dependencies
v1v Sep 6, 2021
bc7efbb
Fix linting
v1v Sep 6, 2021
7e84d83
Add requirements for the UTs
v1v Sep 6, 2021
301679a
add missing dependency for the opentelemetry plugin in the UTs
v1v Sep 6, 2021
5761800
Add ANSIBLE_ prefix for the ansible specific options
v1v Sep 7, 2021
1069b46
Add more context in the docs and remove duplicated docs
v1v Sep 7, 2021
305dbb6
As suggested in the code review
v1v Sep 8, 2021
06f06e2
Verify if the OTEL env variables for the endpoint were set
v1v Sep 8, 2021
fe83d7a
Fix docs typo
v1v Sep 8, 2021
3c77baf
Fix linting
v1v Sep 8, 2021
09e2a6c
Revert "Fix linting"
v1v Sep 8, 2021
62bfc83
Revert "Verify if the OTEL env variables for the endpoint were set"
v1v Sep 8, 2021
075f3e1
Remove console_output as suggested
v1v Sep 13, 2021
af1bd70
Apply suggestions from code review
v1v Sep 13, 2021
86ed157
Delegate the definition of OTEL_EXPORTER_OTLP_INSECURE to the user
v1v Sep 13, 2021
deb84a6
Move definitions above, close to the class that uses them
v1v Sep 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/BOTMETA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ files:
$callbacks/nrdp.py:
maintainers: rverchere
$callbacks/null.py: {}
$callbacks/opentelemetry.py:
maintainers: v1v
keywords: opentelemetry observability
$callbacks/say.py:
notify: chris-short
maintainers: $team_macos
Expand Down
Loading