-
Notifications
You must be signed in to change notification settings - Fork 28
Modifying operator test for python and java simultaneous instrumentation #106
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
Merged
Merged
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
c8b9f79
adding python and java simultaneous instrumentation
Paramadon 5e81549
removing wrong env var
Paramadon d1df896
removing more wrong env vars
Paramadon 99cacf8
removing more wrong env vars
Paramadon de31667
adding python and java instrumentation
Paramadon 6eb5353
adding python and java instrumentation
Paramadon 6941052
Merge branch 'main' into pythonjavaInstrumentation
Paramadon 2f27137
adding integration test for new enablement experience
Paramadon 1ea4c6a
Merge remote-tracking branch 'origin/pythonjavaInstrumentation' into …
Paramadon 9e5a976
Merge branch 'main' into pythonjavaInstrumentation
Paramadon d0a5e7e
removing unecessary changes
Paramadon 0026336
Merge branch 'pythonjavaInstrumentation' of github.com:aws/amazon-clo…
Paramadon 84c9316
adding back annotations to sample app
Paramadon 4226208
fixing no env vars when both python and java instrumented
Paramadon 0ebb491
trying to deploy a different operator version
Paramadon b981021
make deploy
Paramadon 47510fc
fixing some issues
Paramadon d0504d4
doing a git pull
Paramadon 062a350
fixing operator integration test
Paramadon e7806da
testing if operator is working
Paramadon b92beb2
testing if operator is working
Paramadon 8c9cd69
replacing operator installation from make deploy to helm chart
Paramadon e8ca07f
replacing operator installation from make deploy to helm chart
Paramadon 9b43d02
adding debug statements
Paramadon f1722e5
adding debug statements
Paramadon e0d8bba
adding debug statements
Paramadon 0b3736e
adding debug statements
Paramadon bfab47e
adding debug statements
Paramadon eef696b
doing git pull
Paramadon e57d1be
adding feature gate
Paramadon ba59131
added instrumentation
Paramadon 63c0353
controller manager
Paramadon 7dd2990
fixing bug
Paramadon d6a6756
lowering times
Paramadon e08b517
fixing test
Paramadon 51f6913
fixing instrumentation
Paramadon f24c2b5
fixing instrumentation
Paramadon cbb76f0
fixing keys
Paramadon 07720b8
removing patch from operator
Paramadon 80ede30
fixed python issue
Paramadon f269124
fixed python issue
Paramadon bd825d6
adding restart to nginx
Paramadon d2e3199
fixed timing
Paramadon 7e7af5c
fixed wait cond
Paramadon 0e5273a
waiting to delete pod
Paramadon 3d13e68
fixing ready cond
Paramadon b3e86f2
remove deleting pod
Paramadon 919adaf
removing unnecessary waits
Paramadon 30321d7
Merge branch 'main' of github.com:aws/amazon-cloudwatch-agent-operato…
Paramadon d004092
fix wait command
Paramadon 7bb9bfc
fixing wait
Paramadon 148ade7
quick change
Paramadon 1f76af3
merging in main
Paramadon a273b5c
removing unnecessary file
Paramadon 2759fc9
done to merge
Paramadon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -16,4 +16,5 @@ spec: | |
propagators: | ||
- tracecontext | ||
- baggage | ||
- b3 | ||
- b3 | ||
- xray |
17 changes: 17 additions & 0 deletions
17
integration-tests/python-java/default_instrumentation_python-java_env_variables.json
This file contains hidden or 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,17 @@ | ||
|
||
{ | ||
"PYTHONPATH": "/otel-auto-instrumentation-python/opentelemetry/instrumentation/auto_instrumentation:/otel-auto-instrumentation-python", | ||
"OTEL_AWS_APP_SIGNALS_ENABLED": "true", | ||
"OTEL_TRACES_SAMPLER_ARG": "endpoint=http://cloudwatch-agent.amazon-cloudwatch:2000", | ||
"OTEL_TRACES_SAMPLER": "xray", | ||
"OTEL_EXPORTER_OTLP_PROTOCOL": "http/protobuf", | ||
"OTEL_EXPORTER_OTLP_TRACES_ENDPOINT": "http://cloudwatch-agent.amazon-cloudwatch:4316/v1/traces", | ||
"OTEL_AWS_APP_SIGNALS_EXPORTER_ENDPOINT": "http://cloudwatch-agent.amazon-cloudwatch:4316/v1/metrics", | ||
"OTEL_METRICS_EXPORTER": "none", | ||
"OTEL_PYTHON_DISTRO": "aws_distro", | ||
"OTEL_PYTHON_CONFIGURATOR": "aws_configurator", | ||
"OTEL_SMP_ENABLED": "true", | ||
"OTEL_AWS_SMP_EXPORTER_ENDPOINT": "http://cloudwatch-agent.amazon-cloudwatch:4316/v1/metrics", | ||
"JAVA_TOOL_OPTIONS": "-javaagent:/otel-auto-instrumentation-java/javaagent.jar" | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
integration-tests/python-java/sample-deployment-python-java.yaml
This file contains hidden or 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,21 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: nginx | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: nginx | ||
template: | ||
metadata: | ||
labels: | ||
app: nginx | ||
annotations: | ||
instrumentation.opentelemetry.io/inject-python: "true" | ||
instrumentation.opentelemetry.io/inject-java: "true" | ||
spec: | ||
containers: | ||
- name: nginx | ||
image: nginx:1.14.2 | ||
restartPolicy: Always | ||
status: {} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.