Skip to main content
Ent+
This feature is available as an add-on for the Honeycomb Enterprise plan. Please contact your Honeycomb account team for details.

Metric Name Filter Processor

The Metric Name Filter processor can be used to include or exclude metrics based on their name.

Supported Types

MetricsLogsTraces

Configuration Table

ParameterTypeDefaultDescription
actionenumexcludeexclude or include metrics that match.
match_typeenumstrictMethod for matching values. Strict matching requires that ‘value’ be an exact match. Regexp matching uses re2 to match a value.
metric_namesstringsrequiredOne or more metric names to match on.

Example Configuration

Web Interface

Honeycomb Docs - Filter Metric Name - image 1

Exclude Regexp

Filter out (exclude) metrics that match the expression k8s.node.*.
apiVersion: bindplane.observiq.com/v1
kind: Processor
metadata:
  id: filter-name-regexp
  name: filter-name-regexp
spec:
  type: filter_metric_name
  parameters:
    - name: action
      value: exclude
    - name: match_type
      value: regexp
    - name: metric_names
      value:
        - k8s.node.*

Include Strict

Include metrics that match, drop all other metrics.
apiVersion: bindplane.observiq.com/v1
kind: Processor
metadata:
  id: include-name-strict
  name: include-name-strict
spec:
  type: filter_metric_name
  parameters:
    - name: action
      value: include
    - name: match_type
      value: strict
    - name: metric_names
      value:
        - k8s.container.cpu
        - k8s.pod.memory