Class: DatadogAPIClient::V2::LogsMetricGroupBy

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/logs_metric_group_by.rb

Overview

A group by rule.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#pathObject

The path to the value the log-based metric will be aggregated over.



29
30
31
# File 'lib/datadog_api_client/v2/models/logs_metric_group_by.rb', line 29

def path
  @path
end

#tag_nameObject

Eventual name of the tag that gets created. By default, the path attribute is used as the tag name.



32
33
34
# File 'lib/datadog_api_client/v2/models/logs_metric_group_by.rb', line 32

def tag_name
  @tag_name
end