Skip to content

Customize Templates

Configuring Metric Templates

Service cookbooks are a way to specify on how to evaluate a service through specific critical metrics and watchlist metrics. OpsMx machine learning algorithm starts with a default cookbook for all known services (e.g., Tomcat, MySQL, etc.). For custom services, a template for cookbook will be generated from metric datastore (e.g., Datadog) based on the service name and system metrics. Applications developers and operators can customize the cookbook further with their understanding of the service.

Step 1: Click on “SETUP” from the Main menu

Step 2: Click on “CUSTOMIZE TEMPLATES” tab

Step 3: Click on “+” Button

Screenshot

Configure Template Name

Step 4: For the configuration of new Template, enter Template-Name in the textbox, and choose Cloud-Provider as (Kubernetes,AWS...or Custom) then continue by clicking on “NEXT” Button. If no specific information is being used from the Cloud-Provider, you can use the generic cloud provider as depicted below.

Screenshot

Note: At-least one of APM or Infrastructure metrics need to chosen APM - Refers to API level monitoring and metrics. Infrastructure - Refers to vital stats of the VM/Container like Memory, CPU usage etc.

APM Configuration

Step 5: Choose “Monitoring Provider” as added previously in “Monitoring Credentials” tab by selecting one at a time Newrelic, Prometheus, Datadog etc

Step 6: Based on selected Service Provider it shows up with service name you provided then select that service and continue by clicking on “NEXT” Button.

Screenshot

Configure Application

Based on the selected service it displays the list of applications, choose one of it then continue by clicking on “NEXT” Button.

Screenshot

Configure API

Based on the selected applcation it dispalys the list of API`s. if you want to uncheck any API which is not required, and continue by clicking on “NEXT” Button.

Screenshot

INFRA Configuration

In this INFRA Configuration ,select Service Provider it shows up with service name you provided then select that service and continue by clicking on “FINISH” Button.

Screenshot

It opens success pop box with all selected API`s list,you can edit Watchlist metrics and Critical metrics by show/hide option on right side.

Screenshot

Choose weights for the metric groups that have been selected, to help OpsMx score based on them.

Screenshot

Watchlist metrics are metrics that Developers or Operators typically use to monitor during the manual judgment phase. These metrics will be shown for easier tracking in the scoring page.

For Red/Black ACA, a metric that represents the load on the server must be set to enable comparing service versions that are run at different times with potentially different environment and load conditions.

** Important: To allow load-based normalisation, atleast one metric needs to be chosen as the global load, after which it gets categorized under the load section. **

Screenshot

The remaining metrics are used in the final score, but the relative rank and weights are determined by OpsMx machine learning algorithms automatically.

Step 7:: Once the update to the cookbook is completed, click “Save” to save the cookbook. The cookbook will be used for analysis and diagnostics for future runs.

Configure Log Templates

Log templates are a way for configuring the kind of string patterns which occur in the container logs and which of them to penalise, warn and ignore. To setup a log template, follow the steps below.

Start the new Template Creation Flow

Screenshot

Template Name, Application, Service & Platform

User can start creating the template by giving the Template Name. This needs to be followed by selection of applications and associated services. Post this the platform has to be selected. This is the deployment platform.

Currently, only default platform is supported for retrieving logs.

Screenshot

Screenshot

Monitoring Provider & String Patterns

Specify the monitoring provider being used for aggregating application logs.

Also, specify the string patterns which you would like to penalise, which would be a warning and which you would like to ignore.

Screenshot

The remaining things in the template creation are same. The only change was creating template for an application and for a service.

Comments