# Verify Your Microservice With AI

1. Click on Microservices on the left sidebar

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FiDxgUBPjd98bqHzQePOM%2FScreenshot%202024-06-05%20at%2012.51.34%E2%80%AFPM.png?alt=media&#x26;token=bf078221-94a6-4abf-a254-7b07e79ba49f" alt=""><figcaption></figcaption></figure>

2. Selecting Microservices will redirect you to the new modal page where you can click on the + New Microservice button which is in the top right corner

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2Fnkmo84D8kVlLri9i0JrB%2FScreenshot%202024-06-05%20at%2012.56.36%E2%80%AFPM.png?alt=media&#x26;token=31184437-1baf-438d-b59b-02e0bf613f45" alt=""><figcaption></figcaption></figure>

3. Fill out the Microservice **General Details** and **Service Details**

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FsOyfWaxOvOIncmCq7PTr%2Fimage-20240515-094111%20(1).png?alt=media&#x26;token=3e595cc9-80b4-4306-abda-98339e1d8b0d" alt=""><figcaption></figcaption></figure>

4. Click on Next Step and to Enable Deployment Verification for this Microservice Select the *Environment*, *Enable Auto Rollback,* and set the *Algorithm Aggression*\
   \
   The Auto Rollback Enable allows for the pipeline to be rolled back in case of a failure during the Deployment verification stage.\
   \
   The Algorithm Aggression is a scale that defines the deployment verification aggression for this microservice. It sets the threshold for the severity of the alerts which are to be raised for this microservice.<br>

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FMf88ypNvPxoCGhOVY2Ce%2Fimage-20240515-094201.png?alt=media&#x26;token=6b24f710-07ea-4019-bfd3-29d727816ae1" alt=""><figcaption></figcaption></figure>

5. Set up a existing APM provider or create a New one for APM Data ingestion

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FQ5tDQflhobnzafBWSsGY%2Fimage-20240508-083250.png?alt=media&#x26;token=64a5a714-a477-4932-a3ae-08d7a2a94f5f" alt=""><figcaption></figcaption></figure>

&#x20;   a)  Create a **New Integration**<br>

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FA44rhhhmPP8Qqwx5pziN%2Fimage-20240515-094252.png?alt=media&#x26;token=0b9dfb9d-58b7-4726-8734-180d1f6093bd" alt=""><figcaption></figcaption></figure>

b) Set up **APM instance** for Deployment Verification\ <br>

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FUUJwuPnICtSpkFtYToXV%2Fimage-20240508-090138.png?alt=media&#x26;token=2c919030-fb5b-47f8-bb86-4a3348b04178" alt=""><figcaption></figcaption></figure>

5\) Microservice with Deployment Verification is set up.

The Microservice has been created with Deployment Verification Setup. Upon running a pipeline or a release, the monitoring of various datasources such as Logs Data, Kubernetes Events, Metrics Data and APM data is enabled.<br>

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FfpTeEw4n5gVESDWBXEMA%2Fimage-20240515-094345.png?alt=media&#x26;token=28685b3a-627f-49a1-b814-222e7861b4fe" alt=""><figcaption></figcaption></figure>

6\) For a particular microservice under the **Deployment Verification** tab the detected anomalies are listed.<br>

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FoObPjnd38ZJJHVx6OqcV%2Fimage-20240515-094427%20(1).png?alt=media&#x26;token=2a84cc01-1718-477c-b5cf-8a9b6834e48c" alt=""><figcaption></figcaption></figure>

a) Upon clicking on an anomaly a more detailed view of anomaly is available :\
\
\&#xNAN;*Events Anomaly* :

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FLV4XxQGl3FavAmAfE5ys%2Fimage-20240515-094456.png?alt=media&#x26;token=807b6fd9-908e-415c-b83a-b5aaa2046970" alt=""><figcaption></figcaption></figure>

*Metrics Anomaly* :

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FF09duh1m8NpFIdBq3axL%2Fimage-20240508-092037.png?alt=media&#x26;token=8d492c26-0c1b-487d-91b0-ca929a4e3c37" alt=""><figcaption></figcaption></figure>

Logs Anomaly:\
\
\ <br>

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FbrZbAtYwcGHrccAHr3Rj%2Fimage-20240508-092106.png?alt=media&#x26;token=8d55b419-5d76-4908-ae65-abd8f411caba" alt=""><figcaption></figcaption></figure>

APM Anamoly:<br>

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2F6v2XOQsRnNzccx6Ol9SK%2Fimage-20240508-092222.png?alt=media&#x26;token=3b4a21d1-b1e6-4bd4-bc99-788a900a5370" alt=""><figcaption></figcaption></figure>

1. Resolve : Marks the issue as resolved
2. Relevant : Marks Anomalies as relevant
3. Dismiss : Dismiss issues which are not relevant

<figure><img src="https://3829750647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAObcOkMb6sCSnSdcUOTm%2Fuploads%2FnKrW8y2gPXPDqZH7MM4V%2Fimage-20240508-091646.png?alt=media&#x26;token=13f01356-da8b-4b35-b629-5d46f30e44d6" alt=""><figcaption></figcaption></figure>

\ <br>
