From aaa080d5e505f1d609c341b9cede81d938d4b633 Mon Sep 17 00:00:00 2001 From: qxz15oi Date: Wed, 24 Mar 2021 16:21:51 +0100 Subject: [PATCH] README.md minor changes --- .../custom-service-java/README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/onboarding/CD_newComponentTag/custom-service-java/README.md b/onboarding/CD_newComponentTag/custom-service-java/README.md index 95d09f2b..54abbf24 100644 --- a/onboarding/CD_newComponentTag/custom-service-java/README.md +++ b/onboarding/CD_newComponentTag/custom-service-java/README.md @@ -1 +1,17 @@ -hello world \ No newline at end of file +## What is a custom service in Dynatrace? +If your application services aren't built on standard technologies, they may not be recognized out-of-the box. +You can monitor these technologies, but you'll need to define them as custom services with specific service entry points. +Another use case for custom services are microservices that are used by a larger application that aren't exposed via communication technologies. + +## How to create a custom service? +- Edit the file custom-service-java.yaml. You can use the customService1 as a template. Copy and paste it below, changing the skipDeployment to true. +- Fill up all the remaining inputs with the details of the endpoint you're interested to monitor (className, methodName, etc...) + +## What if i have multiple classes? +- Clone the template-1-1.json to a new one called template-2-1.json. +- Edit the 2nd json adding a 2nd rule separated with a coma with the first one +- Change the name of the {{.values}}. Make sure to add them in the YAML definition. + +## What if i have multiple methods? +- Same process as before, just call it template-1-2.json +- In this way you can extend to a custom service with n classes and k methods: template-n-k.json \ No newline at end of file