Include slug in the annotation. (#3251)
This commit is contained in:
parent
0fcc0d62d3
commit
fa0f9e0126
|
|
@ -50,6 +50,9 @@ module.exports = {
|
|||
urlAndGroup[0],
|
||||
urlAndGroup[1]
|
||||
];
|
||||
if (options.slug) {
|
||||
tags.push(options.slug);
|
||||
}
|
||||
const extraTags = util.toArray(options.grafana.annotationTag);
|
||||
// We got some extra tag(s) from the user, let us add them to the annotation
|
||||
if (extraTags.length > 0) {
|
||||
|
|
|
|||
|
|
@ -45,6 +45,9 @@ module.exports = {
|
|||
urlAndGroup[0],
|
||||
urlAndGroup[1]
|
||||
];
|
||||
if (options.slug) {
|
||||
tags.push(options.slug);
|
||||
}
|
||||
const extraTags = util.toArray(options.graphite.annotationTag);
|
||||
// We got some extra tag(s) from the user, let us add them to the annotation
|
||||
if (extraTags.length > 0) {
|
||||
|
|
|
|||
|
|
@ -37,6 +37,10 @@ module.exports = {
|
|||
.split('.');
|
||||
let tags = [connectivity, browser, urlAndGroup[0], urlAndGroup[1]];
|
||||
|
||||
if (options.slug) {
|
||||
tags.push(options.slug);
|
||||
}
|
||||
|
||||
if (webPageTestExtraData) {
|
||||
tags.push(webPageTestExtraData.connectivity);
|
||||
tags.push(webPageTestExtraData.location);
|
||||
|
|
|
|||
Loading…
Reference in New Issue