In kubernetes I have a pod with nginx and a pod with apache. Requests come from outside clients to nginx, nginx response all static files (js, css,jpg) and all api calls are being proxy passed to apache pod. Everything warks great untill I install dynatrace and redeploy my pods. Then all static files work great but the api calls that are being proxy passed to apache fail. No errors, just nginx dies. Ningx does not get any response from apache.
I used the following to nginx
dynatrace.com/inject: 'false'
metadata-enrichment.dynatrace.com/inject: 'false'
oneagent.dynatrace.com/inject: 'false'
I redeployed and nginx does get the response from apache pod, but the json is truncated.
If i disable dynatrace for apache as well using the above lines everything work fine.
Is there anyone that can share any thoughts, Thanks for your time and consideration.
Hi @tchatzi
Have checked the nginx support matrix?
Best regards,
János
my nginx version is 1.20.2 which is supposed to be working
Hi @tchatzi ,
YES, this version is supported based on the matrix. Unfortunately I do not have any other idea.
Could you please raise a support ticket?
Best regards,
János
Hi! Hope your hump day is going great!
If you are interested in service level monitoring you can try to disable sensor on process group - if there is such process group - nginx. Easiest way to find it on smartscape - you can use search.
You can drill down to process group settings and try to disable this checkbox.
Also you can try to disable specific sensor in OneAgent features, try filter with ‘webserver’ sensor.
If this is public image - nice to share it / We can add more recomendations / reproduce at our env.
Also you can try to add:
Settings > Processes and containers > Custom process monitoring rules
apiVersion: apps/v1
kind: Deployment
metadata:
name: web-servers
spec:
replicas: 1
selector:
matchLabels:
app: web-servers
template:
metadata:
labels:
app: web-servers
spec:
containers:
- name: apache
image: httpd:latest
ports:
- containerPort: 80
- name: nginx
image: nginx:latest
ports:
- containerPort: 80
env:
- name: DOG
value: "CORGI"
| If nothing helps, it’s best to create a support ticket as recommended by @Mizső |
Regards,
Aleksandr