-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add annotations documentation #32392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
|
||
| Annotations are available in both dashboards and notebooks. If you export a widget from a dashboard to a notebook, any annotations you've added to the widget persist. | ||
|
|
||
| <!-- screenshot --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to add a screenshot -- @amymzhou, what would be a few good example metrics to show?
Preview links (active after the
|
| identifier: dashboards_overlays | ||
| - name: Annotations | ||
| url: dashboards/annotations/ | ||
| parent: dashboards |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want this to be a child of Overlays, you just need to change the parent identifier. If you want this to be the same level as Overlays, then the weight needs to be 10 (and then the following menu items weights need to be adjusted). Hope that helps, let me know if you have any questions!
| parent: dashboards | |
| parent: dashboards_overlays |
|
|
||
| 1. Create an annotation by: | ||
| - Left-clicking anywhere on a timeseries widget and selecting **Add annotation** from the context menu that appears, or | ||
| - Clicking the X axis on a timeseries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - Clicking the X axis on a timeseries | |
| - Clicking the X-axis on a timeseries graph |
| - Left-clicking anywhere on a timeseries widget and selecting **Add annotation** from the context menu that appears, or | ||
| - Clicking the X axis on a timeseries | ||
| 3. Type your comment, and optionally click the timestamp field to manually adjust to the precise time you want to annotate. | ||
| 4. Optionally change the color of the annotation from the dropdown in the bottom left. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just my preference, optional suggestion
| 4. Optionally change the color of the annotation from the dropdown in the bottom left. | |
| 4. (Optional) Change the color of the annotation from the dropdown in the bottom left. |
| To apply an annotation to multiple timeseries at once: | ||
|
|
||
| 1. Select the widgets you want to apply the annotation to (or leave everything unselected to apply to all widgets). | ||
| 2. Follow steps 1–4 [above](#adding-an-annotation) to start creating an annotation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 2. Follow steps 1–4 [above](#adding-an-annotation) to start creating an annotation. | |
| 2. Follow steps 1-4 in [Adding an annotation](#adding-an-annotation) to create an annotation. |
|
|
||
| ## Editing an annotation | ||
|
|
||
| To edit an annotation you've created, hover over the annotation line, click the three dots menu, and choose **Edit** or **Edit for all widgets**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| To edit an annotation you've created, hover over the annotation line, click the three dots menu, and choose **Edit** or **Edit for all widgets**. | |
| To edit an annotation, hover over the annotation line, click the three dots menu, and choose **Edit** or **Edit for all widgets**. |
What does this PR do? What is the motivation?
Adds a guide to the new annotations feature for timeseries widgets, including creation, bulk creation, editing, and deletion.
Merge instructions
I'd like to add a screenshot before merge (see comment inline)
Merge readiness:
Additional notes