Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

METRON-2330: Add global profile in foreach desc #1577

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions metron-analytics/metron-profiler-common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@ A separate profile is maintained 'for each' of these. This is effectively the e

For example, if `ip_src_addr` then a separate profile would be maintained for each unique IP source address in the data; 10.0.0.1, 10.0.0.2, etc.

Also, global profile can be declared using Stellar expression that returns a string:
```
"foreach": "'global'"
```

Any other string can be used instead of global.

#### `onlyif`

*Optional*
Expand Down