Skip to content

Commit

Permalink
Adds initial support to sending metric alert to wavefront
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Pchevuzinske Katz <[email protected]>
  • Loading branch information
rikatz committed Apr 19, 2021
1 parent 0c4448a commit acb4202
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ openfaas:

wavefront:
endpointtype: "direct" # Wavefront endpoint type, must be 'direct' or 'proxy'. If not empty, with endpointhost, Wavefront output is enabled
endpointhost: "bla1.wavefront.com" # Wavefront endpoint address (only the host). If not empty, with endpointhost, Wavefront output is enabled
endpointtoken: "abcd-12345-cabeca-987654321" # Wavefront token. Must be used only when endpointtype is 'direct'
endpointhost: "" # Wavefront endpoint address (only the host). If not empty, with endpointhost, Wavefront output is enabled
endpointtoken: "" # Wavefront token. Must be used only when endpointtype is 'direct'
metricname: "falco.alert" # Metric to be created in Wavefront. Defaults to falco.alert

webui:
Expand Down Expand Up @@ -603,7 +603,7 @@ care of lower/uppercases**) : `yaml: a.b --> envvar: A_B` :
- **WAVEFRONT_ENDPOINTMETRICPORT**: Wavefront endpoint port when type is 'proxy'
- **WAVEFRONT_METRICNAME**: "falco.alert" # Metric name to be created/used in Wavefront
- **WAVEFRONT_MINIMUMPRIORITY**: "debug" # minimum priority of event for using
this output, order is
this output, order is `emergency|alert|critical|error|warning|notice|informational|debug or "" (default)`
#### Slack/Rocketchat/Mattermost/Googlechat Message Formatting

The `SLACK_MESSAGEFORMAT` environment variable and `slack.messageformat` YAML
Expand Down
1 change: 0 additions & 1 deletion outputs/wavefront.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ func NewWavefrontClient(config *types.Configuration, stats *types.Statistics, pr
StatsdClient: statsdClient,
DogstatsdClient: dogstatsdClient,
}, nil

}

// WavefrontPost sends metrics to WaveFront.
Expand Down

0 comments on commit acb4202

Please sign in to comment.