cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

custom service detection nodejs

gbekes
Frequent Guest

I am trying to configure custom service detection with Kafka in Node.js.

As per the doc: https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/custom-service...

 

For Node.js, you must select an exported message handler function that has a KafkaJs EachMessagePayload as an argument.

 

I have an exported method in my app.ts as follows:

export const messageHandler = async (payload: EachMessagePayload) => {}, but it is not listed on the configuration page after I have selected the file.
 
Is there anything I am missing?
 
Thanks.
1 REPLY 1

gbekes
Frequent Guest

gbekes_0-1631193935633.png

It seems it is not working correctly

Featured Posts