21 Oct 2022 04:51 AM - last edited on 24 Oct 2022 10:53 AM by MaciejNeumann
I deploy my node.js application and other dynatrace applications in kyma(k8s), but when I getCurrentState,
the state is not active. I have already check the version . who can kindly give me some advice.
21 Oct 2022 12:50 PM
I guess you don't have oneagent running or not injecting code modules to pods running your nodejs application. It's difficult to tell without knowing your deployment. What mode of Dynatrace Operator deployment are you using in your k8s cluster?
24 Oct 2022 03:22 AM
I deploy Dynatrace Operator by : create namespace dynatrace and apply this yaml
https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.7.2/kubernetes.yaml,
I have seen the k8s-metering-oneagent is running in Pods. and I also had used this env to monitor
java microservice by JMX plugin successfully. so Are there any other configurations that haven't been considered of using oneagent-sdk?
24 Oct 2022 08:43 AM
I mean what deployment mode described here are you using - the mode is specified when you create the DynaKube resource.
Nevertheless, first check if Dynatrace is injecting code modules into your NodeJS process. You can see that easily if you open the NodeJS process in Dynatrace UI and you will see the OneAgent version in the metadata:
If there is OneAgent version then there is definitely some issue with initializing - check the OneAgent log (Download the OneAgent diagnostic archive).
If there is no mention of OneAgent version, then Dynatrace is not injecting into your nodejs process. Maybe due to the deployment mode you are using or due to rules you have set up or the version you are running is not supported.
25 Oct 2022 03:46 AM
here is my dynakube.yaml.
the mode you mean maybe 'classicFullStack',and there is no mention of OneAgent version;
I just refer to this example, could you show me how to inject Dynatrace to nodejs app, otherwise, I don't understand the rules you mean.