Loading full navigation.

You can create OpenTelemetry Metrics scopes by defining rules that match OpenTelemetry metric attributes and values. A hierarchy can include these scopes under the root scope or another scope. Rules inherited from a parent scope apply together with the rules that you define for the child scope.

Requirements for Adding Scopes

To add an OpenTelemetry Metrics scope, you need a LogicMonitor user with the “View” and “Manage” permissions for the scope in the OTLP Metrics role permissions.

Considerations for Adding Scopes

Consider the following when defining scope rules:

  • You cannot define the same attribute more than once within a scope.
  • A child scope cannot redefine an attribute inherited from its parent scope.
  • Attribute keys are case-sensitive.

Adding OpenTelemetry Metrics Scopes

  1. In LogicMonitor, navigate to more options icon More > OTel Metrics > Scopes.
  2. Select Add icon to add a scope.
  3. In the Scope name field, enter a name for the scope.
  4. (Optional) In the Description field, enter a description for the scope.
  5. From the Parent scope dropdown menu, select a scope.
    The root scope is selected by default.
    The Parent Rules section displays inherited rules. LogicMonitor combines inherited rules with the new scope rules using the “AND” operator.
  6. In the Rules section, select Add record or Add icon , and do the following:
    1. In Attribute field, enter the OpenTelemetry metric attribute used to define the scope.
    2. In Value(s) field, enter the values for the metric attribute.
    3. Select Save.
  1. Select Save Scope.