Skip to content

Commit

Permalink
adapt readme
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
  • Loading branch information
odubajDT committed Sep 6, 2024
1 parent b2af987 commit 410b43f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions processor/transformprocessor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,8 @@ The `aggregate_on_attributes` function aggregates all datapoints in the metric b

`aggregate_on_attributes` function removes all attributes that are present in datapoints except the ones that are specified in the `attributes` parameter. If `attributes` parameter is not set, all attributes are removed from datapoints. Afterwards all datapoints are aggregated depending on the attributes left (none or the ones present in the list).

**NOTE:** This function is supported only in `metric` context.

The following metric types can be aggregated:

- sum
Expand Down Expand Up @@ -422,6 +424,8 @@ To aggregate only using a specified set of attributes, you can use `keep_matchin

The `aggregate_on_attribute_value` function aggregates all datapoints in the metric containing the attribute `attribute` (type string) with one of the values present in the `values` parameter (list of strings) into a single datapoint where the attribute has the value `newValue` (type string). `function` is a case-sensitive string that represents the aggregation function.

**NOTE:** This function is supported only in `metric` context.

The following metric types can be aggregated:

- sum
Expand Down

0 comments on commit 410b43f

Please sign in to comment.