Skip to content

Commit 23dea38

Browse files
vrischmannbrian-brazil
authored andcommitted
content/docs/alerting: document the new template function stringSlice (prometheus#1483)
Signed-off-by: Vincent Rischmann <vincent@rischmann.fr>
1 parent 4b68c73 commit 23dea38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/docs/alerting/notifications.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,4 @@ templating.
9191
| reReplaceAll | pattern, replacement, text | [Regexp.ReplaceAllString](http://golang.org/pkg/regexp/#Regexp.ReplaceAllString) Regexp substitution, unanchored. |
9292
| join | sep string, s []string | [strings.Join](http://golang.org/pkg/strings/#Join), concatenates the elements of s to create a single string. The separator string sep is placed between elements in the resulting string. (note: argument order inverted for easier pipelining in templates.) |
9393
| safeHtml | text string | [html/template.HTML](https://golang.org/pkg/html/template/#HTML), Marks string as HTML not requiring auto-escaping. |
94+
| stringSlice | ...string | Returns the passed strings as a slice of strings. |

0 commit comments

Comments
 (0)