Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1d1c40f9
Commit
1d1c40f9
authored
May 12, 2020
by
Amy Qualls
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'add-annotations-ui-screenshots' into 'master'
Update annotations docs See merge request gitlab-org/gitlab!30348
parents
fa84e87e
6c1c932b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
11 deletions
+4
-11
doc/api/metrics_dashboard_annotations.md
doc/api/metrics_dashboard_annotations.md
+0
-10
doc/user/project/integrations/img/metrics_dashboard_annotations_ui_v13.0.png
...tegrations/img/metrics_dashboard_annotations_ui_v13.0.png
+0
-0
doc/user/project/integrations/prometheus.md
doc/user/project/integrations/prometheus.md
+4
-1
No files found.
doc/api/metrics_dashboard_annotations.md
View file @
1d1c40f9
...
@@ -4,16 +4,6 @@
...
@@ -4,16 +4,6 @@
Metrics dashboard annotations allow you to indicate events on your graphs at a single point in time or over a timespan.
Metrics dashboard annotations allow you to indicate events on your graphs at a single point in time or over a timespan.
## Enable the metrics dashboard annotations API
The
`:metrics_dashboard_annotations`
feature flag is disabled by default.
To turn on this API, ask a GitLab administrator with Rails console
access to run the following command:
```
ruby
Feature
.
enable
(
:metrics_dashboard_annotations
)
```
## Create a new annotation
## Create a new annotation
```
plaintext
```
plaintext
...
...
doc/user/project/integrations/img/metrics_dashboard_annotations_ui_v13.0.png
0 → 100644
View file @
1d1c40f9
30.9 KB
doc/user/project/integrations/prometheus.md
View file @
1d1c40f9
...
@@ -673,7 +673,8 @@ The options are:
...
@@ -673,7 +673,8 @@ The options are:
### Dashboard Annotations
### Dashboard Annotations
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/211330) in GitLab 12.10 (enabled by feature flag `metrics_dashboard_annotations`).
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/211330) in GitLab 12.10 (enabled by feature flag `metrics_dashboard_annotations`).
> - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/215224) in GitLab 13.0.
You can use
**Metrics Dashboard Annotations**
to mark any important events on
You can use
**Metrics Dashboard Annotations**
to mark any important events on
every metrics dashboard by adding annotations to it. While viewing a dashboard,
every metrics dashboard by adding annotations to it. While viewing a dashboard,
...
@@ -685,6 +686,8 @@ its description.
...
@@ -685,6 +686,8 @@ its description.
You can create annotations by making requests to the
You can create annotations by making requests to the
[
Metrics dashboard annotations API
](
../../../api/metrics_dashboard_annotations.md
)
[
Metrics dashboard annotations API
](
../../../api/metrics_dashboard_annotations.md
)
![
Annotations UI
](
img/metrics_dashboard_annotations_ui_v13.0.png
)
### View Logs **(ULTIMATE)**
### View Logs **(ULTIMATE)**
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/122013) in GitLab 12.8.
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/122013) in GitLab 12.8.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment