c1c48dd610
Use relative aliases for all non-current Grafana aliases ( #60062 )
...
* Use relative aliases for all non-current Grafana aliases
Prevents non-latest documentation "stealing" the page away from latest
and through permanent redirects for latest pages that no longer exist.
The redirected pages are indexed by search engines but our robots.txt
forbids them crawling the non-latest page.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Remove aliases from shared pages
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Rewrite all current latest aliases to be next
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Fix typo in latest alias
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Remove all current page aliases
find docs/sources -type f -name '*.md' -exec sed -z -i 's#\n *- /docs/grafana/next/[^\n]*\n#\n#' {} \;
find docs/sources -type f -name '*.md' -exec sed -Ez -i 's#\n((aliases:\n *-)|aliases:\n)#\n\2#' {} \;
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Prettier
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-12-09 12:36:04 -04:00
e0e76f0252
Fixes term Grafana Alerting ( #50404 )
2022-06-08 13:35:37 +02:00
b84294dd27
Convert TOML front matter to YAML ( #49690 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-05-26 11:06:25 -04:00
51dfcd7d37
Add current alias to all files ( #48635 )
...
* Add aliases to all files
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Prettify front matter
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-05-17 08:24:11 -07:00
5bc91187f1
Hide what's new topic ( #48704 )
2022-05-04 10:16:00 -04:00
082cfbdb06
Docs: Refactor alerting documentation (part 1) ( #48664 )
...
* Initial commit
* Moved files, ad fixed broken relrefs.
* Fixed other broken relrefs
* More changes.
* Fixing broken relrefs
* More changes.
* Fixed last of the broken links
* More re-org.
* Added aliases and some weight adjustments
* More aliases.
* Fix fundamentals topic.
* Fixed remaining metadata issues
* Ran prettier
2022-05-04 08:22:11 -04:00
14225b07b2
Docs: Cleanup alerting documentation, part 1 ( #40737 )
...
* First commit.
* Adding shared content.
* More changes.
* More changes
* Updated few more topics, fixed broken relrefs.
* Checking in changes.
* Some more topics scrubbed.
* Minor update.
* Few more changes.
* Index pages are finally somewhat sorted. Added relevant information and new topics.
* Updated Alert grouping.
* Last bunch of changes for today.
* Updated folder names, relrefs, and some topic weights.
* Fixed typo in L37, notifications topic.
* Fixed another typo.
* Run prettier.
* Fixed remaining broken relrefs.
* Minor reorg, added link to basics some overview topic.
* Some more re-org of the basics section.
* Some more changes.
* More changes.
* Update docs/sources/shared/alerts/grafana-managed-alerts.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/_index.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/_index.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/opt-in.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/notification-policies.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/alert-groups.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/_index.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/alert-annotation-label.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/alert-annotation-label.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/alert-annotation-label.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-recording-rule.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* Ran prettier and applied suggestion from code review.
* Update docs/sources/alerting/unified-alerting/message-templating/_index.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/contact-points.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/contact-points.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* Change from code review. Also fixed typo "bos" in playlist topic.
* Ran prettier to fix formatting issues.
* Update docs/sources/alerting/unified-alerting/alerting-rules/edit-cortex-loki-namespace-group.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/contact-points.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/basics/alertmanager.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/basics/alertmanager.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/basics/evaluate-grafana-alerts.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/contact-points.md
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
* More changes from code review.
* Replaced drop down with drop-down
* Fix broken relrefs
* Update docs/sources/alerting/unified-alerting/alerting-rules/create-cortex-loki-managed-rule.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
* Update docs/sources/alerting/unified-alerting/alerting-rules/rule-list.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
* Few more.
* Couple more.
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
2021-10-27 16:57:54 -04:00
012d4f0905
Alerting: Remove ngalert
feature toggle and introduce two new settings for enabling Grafana 8 alerts and disabling them for specific organisations ( #38746 )
...
* Remove `ngalert` feature toggle
* Update frontend
Remove all references of ngalert feature toggle
* Update docs
* Disable unified alerting for specific orgs
* Add backend tests
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Disabled unified alerting by default
* Ensure backward compatibility with old ngalert feature toggle
* Apply suggestions from code review
Co-authored-by: gotjosh <josue@grafana.com>
2021-09-29 16:16:40 +02:00
b78a67cec7
PackageJson: Prettify markdown/mdx on commit with lint-staged ( #37616 )
...
* Format md,mdx files with prettier on lint-staged
* Manually run prettier on docs/sources
2021-08-06 07:52:36 -06:00
1f012871b4
Fix alerting docs ( #35340 )
...
* First commit.
* More changes, to make sure all alert information flows.
* Updated a title
2021-06-07 13:07:06 -04:00
8ab8c9cd9a
Alerting: docs for Unified Alerting opt-in, index, difference-old-new ( #34684 )
...
* opt-in, index, difference-old-new
* correct punctuation
* remove unified verbiage
2021-05-27 15:07:51 -07:00
adbe383456
Update alert doc structure ( #34659 )
...
* Restructured and fixed broken relrefs.
* Added relrefs.
* created shared alerts section.
2021-05-25 10:51:28 -04:00
1e30a378af
Docs: Added place folder topic and some placeholder topics ( #34334 )
...
* Added placehodler topic and beginning of topic about differences.
* Removed content that is creating broken relrefs.
* Update configure-all-fields.md
* links fixed
* Update _index.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-05-18 14:33:16 -07:00