
* added what's new 10.1 * created new upgrade guide * updated index file to 10.1 * updated whats new index file * Dataviz: add disconnect values whats new content * Docs: Add Configure refresh token handling separately for OAuth providers to what's new 10.1 (#71648) * Add what s new section for configuring refresh token handling --------- Co-authored-by: linoman <2051016+linoman@users.noreply.github.com> Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> * Whats new: Add step editor and copy link (#71964) * Add step editor and copu link to the whats new * Update docs/sources/whatsnew/whats-new-in-v10-1.md Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> * Update docs/sources/whatsnew/whats-new-in-v10-1.md Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> * Update docs/sources/whatsnew/whats-new-in-v10-1.md Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com> --------- Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com> * Add flamegraph section * Added TraceQL response streaming section * Updated tempo-streaming video link * What's new: Add Loki, Elasticsearch, and Log changes (#72101) * What's new: Add Loki, Elasticsearch, and Log changes * Remove Lucene parser mention * added contributor name to each entry * Alerting: adds whats new entries and structure * Elasticsearch: logs sample in explore * Add span filtering is GA to whats new doc * Transformations redesign and metrics explorer * ran prettier * What's new 10.1: Recategorize contents and add missing data (#72199) What's new: recategorize content and add missing data * Revert whats new refresh token handling (#72191) Revert refresh token handling * docs: What’s New & Upgrade Guide 10.1 AuthNZ (#72000) * add what's new authnz * Update docs/sources/upgrade-guide/upgrade-v10.1/index.md --------- Co-authored-by: Ieva <ieva.vasiljeva@grafana.com> Co-authored-by: linoman <2051016+linoman@users.noreply.github.com> Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> * Alerting: screenshots and updates * Alerting: delete couple of entries * Docs: Add Visualizations and Widgets Split to what's new 10.1 (#72009) Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> * Docs: Add CloudWatch Logs Monaco query editor to what's new in 10.1 (#72221) * Docs: Add CloudWatch Logs Monaco query editor to what's new in 10.1 * Add guidance for Cloud users to enable the feature Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> --------- Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> * Alerting: adds notification policy entry * Add Plugins/Angular deprecation sections to What's new 10.1 * Add Plugins/ds uid deprecation section to What's new 10.1 * Alerting: adds label color entry * Adds whats new features for AWS Datasources * Update what's new 10.1 angular deprecation section * Docs: what's new for preventing manual role updates (#72279) * what's new for disabling manual role updates * add a reference to the feature toggle * fix spelling * Apply suggestions from code review Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com> * PR feedback --------- Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com> * wording fixes * whatsnew-10.1.0: add logs-context info (#72240) * whatsnew-10.1.0: add logs-context info * explain what log context is * improved description Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> * better phrasing --------- Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> * Subfolders: folder picker * Influxdb backend mode * Dataviz: heatmap datalink support * DataViz: geomap new beta network layer * Dataviz: update geomap network layer image * Dataviz: update availability wording to public preview from experimental for geomap network layer * Docs: Add Activate draft reports section to what's new in 10.1 * Docs: Add format time transformation to what's new * Docs: Adjust format time transformation language * Explore: Add what's new about panel plugins (#72338) * Add what's new about panel plugins * Update docs/sources/whatsnew/whats-new-in-v10-1.md Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> --------- Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> * add tabular outer join to whats new * Update traceql streaming section * Added new tempo search section * Update traceql streaming video name * docs: what's new 10.1.0, easier to use elastic query editor (#72513) * docs: elasticsearch: new mode selector * improved text Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> --------- Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> * mitch edits * Added product labels * Made general copy edits * Removed editing notes * Fixed broken relref * Fixed typo and added contributor name * Added contributor name * Made minor copy edits * Update format time transformation docs * A small edit to the role list * Added missing information and committed copy edits * Move Reports item to under Dashboards & visualizations * Changed heading level of Activate draft reports * Fixed wording of Choose which fields to display in log line entry * Made edits to Logs improved performance entry * Added availability for Transformations redesign * Added availability for Join by fields * Made final copy edits * Removed Loki query splitting --------- Co-authored-by: nmarrs <nathanielmarrs@gmail.com> Co-authored-by: Misi <mgyongyosi@users.noreply.github.com> Co-authored-by: linoman <2051016+linoman@users.noreply.github.com> Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com> Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com> Co-authored-by: André Pereira <adrapereira@gmail.com> Co-authored-by: Matias Chomicki <matyax@gmail.com> Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com> Co-authored-by: Gareth Dawson <gwdawson.work@gmail.com> Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com> Co-authored-by: catherineymgui <catherine.gui@grafana.com> Co-authored-by: Jo <joao.guerreiro@grafana.com> Co-authored-by: Ieva <ieva.vasiljeva@grafana.com> Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com> Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com> Co-authored-by: Giuseppe Guerra <giuseppe@guerra.in> Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com> Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com> Co-authored-by: Zsofia <zsofia.komaromi@gmail.com> Co-authored-by: ismail simsek <ismailsimsek09@gmail.com> Co-authored-by: Robert Horvath <robert.horvath@grafana.com> Co-authored-by: Kyle Cunningham <kyle@codeincarnate.com> Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com> Co-authored-by: bohandley <brendan.ohandley@gmail.com> Co-authored-by: Mitchel Seaman <mitchel.seaman@gmail.com> Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com> Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Building the docs locally
When you contribute to documentation, it's a good practice to build the docs on your local machine to make sure your changes appear as you expect. This README explains the process for doing that.
To build a local version, you need to run a process in a Docker container.
Grafana periodically updates the Docker image, docs-base
, to update the styling of the Docs.
Requirements
- Docker >= 2.1.0.3
- Yarn >= 1.22.4
Build the doc site
First, make sure the Docker daemon is running on your machine. Then, follow these steps:
- On the command line, first change to the docs folder:
cd docs
. - Run
make docs
. This launches a preview of the website with the current grafana docs athttp://localhost:3002/docs/grafana/latest/
which will refresh automatically when changes are made to content in thesources
directory.
If you have the grafana/website repo checked out in the same directory as the grafana repo, then you can run make docs-local-static
to use local assets (such as images).
Content guidelines
Edit content in the sources
directory.
Contributing
Using relref
for internal links
Use the Hugo shortcode relref any time you are linking to other internal docs pages.
Syntax is:
{{< relref "example.md" >}}
You might need to add more context for the link (containing folders and so on, folder/example.md
) if Hugo says the relref is ambiguous.
Managing redirects
When moving content around or removing pages it's important that users following old links are properly redirected to the new location. We do this using the aliases feature in Hugo.
If you are moving a page, add an aliases
entry in the front matter referencing the old location of the page which will redirect the old url to the new location.
If you are removing a page, add an aliases
entry in the front matter of the most-applicable page referencing the location of the page being removed.
If you are copying an existing page as the basis for a new one, be sure to remove any aliases
entries in the front matter in your copy to avoid conflicting redirects.
Edit the side menu
The side menu is automatically build from the file structure. Use the weight front matter parameter to order pages.
To specify different menu text from the page title, use the front matter parameter menuTitle
.
Add images
Please see our help documentation on Image, diagram, and screenshot guidelines for comprehensive information.
Deploy changes to grafana.com
When a PR is merged with changes in the docs/sources
directory, those changes are automatically synced by a GitHub action (.github/workflows/publish.yml
) to the grafana/website repo.
- A PR that targets the
main
branch syncs to thecontent/docs/grafana/next
directory in thewebsite
repository, and publishes tohttps://grafana.com/docs/grafana/next/
. - A PR targeting the
latest/current
release branch syncs to thecontent/docs/grafana/latest
directory in thewebsite
repository, and publishes tohttps://grafana.com/docs/grafana/latest/
.
Once the sync is complete, the website will automatically publish to production - no further action is needed.