Docs: fix user metrics doc
What does this MR do?
Fixes https://docs.gitlab.com/ce/user/project/integrations/prometheus_library/metrics.html.
- Wrap text, add code to code block, delete non-existing anchor, add new heading.
- Rename the doc to
index.md
to make the breadcrumbs work for the other docs in the same folder.
Related issues
Want to add this doc to the global nav (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23065/), so it needs to look better.
Moving docs to a new location?
Read the guidelines: https://docs.gitlab.com/ce/development/documentation/index.html#changing-document-location
-
Make sure the old link is not removed and has its contents replaced with a link to the new location. -
Make sure internal links pointing to the document in question are not broken. -
Search and replace any links referring to old docs in GitLab Rails app, specifically under the app/views/
andee/app/views
(for GitLab EE) directories. -
Make sure to addredirect_from
to the new document if there are any Disqus comments on the old document thread. -
If working on CE and the ee-compat-check
jobs fails, submit an MR to EE with the changes as well (https://docs.gitlab.com/ce/development/writing_documentation.html#cherry-picking-from-ce-to-ee). -
Ping one of the technical writers for review.
/label ~Documentation
Edited by Achilleas Pipinellis