mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
make annotation text additive
This commit is contained in:
parent
589e8d3093
commit
a788d3fdf2
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2022 nosqlbench
|
* Copyright (c) 2022-2023 nosqlbench
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@ -36,7 +36,7 @@ public class GrafanaClientTest {
|
|||||||
client.getConfig().basicAuth("admin", "admin");
|
client.getConfig().basicAuth("admin", "admin");
|
||||||
GAnnotation a = new GAnnotation();
|
GAnnotation a = new GAnnotation();
|
||||||
a.setDashboardId(2);
|
a.setDashboardId(2);
|
||||||
a.setText("testingAnnotation");
|
a.addText("testingAnnotation");
|
||||||
GAnnotation created = client.createAnnotation(a);
|
GAnnotation created = client.createAnnotation(a);
|
||||||
logger.info(created);
|
logger.info(created);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user