Skip to content

Commit

Permalink
Merged pull request influxdata#1142 from influxdata/nc-update-docs-1.2
Browse files Browse the repository at this point in the history
Update docs 1.2
  • Loading branch information
nathanielc committed Jan 23, 2017
2 parents 56a5439 + ef63ec5 commit 734d244
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion pipeline/alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ const defaultDetailsTmpl = "{{ json . }}"
type AlertNode struct {
chainnode

// Topic specifies the name of an alert topic to which,
// alerts will be published.
// Alert handlers can be configured per topic, see the API documentation.
Topic string

// Template for constructing a unique ID for a given alert.
Expand Down Expand Up @@ -1264,7 +1267,7 @@ type TalkHandler struct {
// Example:
// stream
// |alert()
// .snmpTrap('1.1.1.')
// .snmpTrap('1.1.1.1')
// .data('1.3.6.1.2.1.1.7', 'i', '{{ index .Field "value" }}')
//
// Send alerts to `target-ip:target-port` on OID '1.3.6.1.2.1.1.7'
Expand Down
4 changes: 2 additions & 2 deletions tickdoc.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
root = "/kapacitor/v1.1/nodes"
root = "/kapacitor/v1.2/nodes"
page-header = '''---
title: {{ .Title }}
note: Auto generated by tickdoc

menu:
kapacitor_1_1:
kapacitor_1_2:
name: {{ .Name }}
identifier: {{ .Identifier }}
weight: {{ .Weight }}
Expand Down

0 comments on commit 734d244

Please sign in to comment.