Create a Site Reliability Guardian

  • Latest Dynatrace
  • How-to guide
  • 4-min read

Create a new guardian

  • From a template.
  • Manually.

Create a guardian from a template

To create a new guardian from a template

  1. In Dynatrace, go to Site Reliability Guardian Site Reliability Guardian.
  2. Select New guardian .
  3. Select :TemplateIcon : Templates.
  4. Select Use template. The DQL query to retrieve all entities is prefilled. You can edit the DQL query at any time.
  5. Select Run query.
  6. To choose every entity, select Select all rows on current page, or choose the entities you want to guard from the Result list.
  7. Select Apply to template.
  8. On the top right, enter the name of the guardian.
  9. optional Enter a Guardian description.
  10. optional Enter Key and Value pairs under Add tags to filter your guardians.
  11. On the left-hand side, refine your Objectives. If you didn't select any guarded entities in step 5, be sure to replace all placeholders (PLACEHOLDER) in your DQL queries with actual values.
  12. Select Save.

To create a guardian without a template, select the Blank option after clicking + New guardian.

You can also apply a template to an existing guardian.

  1. Go to your guardian.

  2. Select the More actions ellipse next to the title.

    SRG Templates and Variables drop down list

  3. Select Add Templates.

  4. In Use template instead, select Use template.

If you use a template, you'll lose your existing objectives.

Create a guardian manually

You can create a guardian manually, but you need to provide all the required input.

To create a guardian manually

  1. In Dynatrace, go to Site Reliability Guardian Site Reliability Guardian.
  2. Select New guardian .
  3. Select Blank.
  4. Set the name of the guardian at the top.
  5. optional Add a description on the right-hand side.
  6. optional Assign tags.
  7. Add objectives on the left-hand side using a custom DQL query.
  8. optional Convert values provided by Grail from one unit to another.
  9. Select Create.

Templates

The following examples are provided:

Template
Description
Four golden signals
Safeguard your service with the four golden signals: latency, traffic, errors, and saturation. This minimum set of objectives focuses on what matters regarding service reliability and performance.
Kubernetes workload saturation
Safeguard your Kubernetes environment with dedicated resource utilization objectives for a Kubernetes workload (i.e., K8s deployment). The objectives focus on memory and CPU consumption of the workload.
Kubernetes cluster saturation
Constantly check the resource consumption of your Kubernetes environment by validating CPU and memory objectives of a Kubernetes cluster.
Kubernetes namespace saturation
Safeguard your Kubernetes environment with dedicated resource utilization objectives for a Kubernetes namespace. The objectives focus on memory and CPU consumption of the namespace including a reliability objective on the container restarts.
Host utilization and saturation
Protect your infrastructure with resource consumption and saturation objectives for a dedicated host.
Security gate
Establish a security gate in your release process to ensure your releases have no known and exploitable vulnerabilities.

Entity selection for an objective

You can select which entities to use for an objective. When selecting an entity, it is prefilled with the correct DQL queries for the objective. The prefilled DQL query helps to configure the objective properly for that particular entity.

Template entity selection enables you

  • To select the right service/entity to guard.
  • To define the proper objectives for that particular service/entity.

It is also possible not to select entities. The DQL objectives need to be adjusted afterward, as they will just filter for something similar to HOST-PLACEHOLDER.

Related tags
Software Delivery