Skip to content
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

[DOC] Create a suite of pages for Explore Traces #235

Merged
merged 11 commits into from
Sep 24, 2024

Conversation

knylander-grafana
Copy link
Contributor

@knylander-grafana knylander-grafana commented Sep 20, 2024

Create a suite of pages from the one long doc page. The screenshot will be replaced with a video when it's available. The video will be a smaller size.

Note that there are two pages that are commented out and need to be written: choose a view and Determine use case.

image

Fixes #234

@knylander-grafana knylander-grafana added the type/docs Used by Docs team for project management label Sep 20, 2024
@knylander-grafana knylander-grafana self-assigned this Sep 20, 2024
@@ -0,0 +1,175 @@
---
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOT WRITTEN. Skip this page.

@knylander-grafana
Copy link
Contributor Author

The drone build failing at spell check is a known issue and being worked on. It's not related to the vale and linter checks for docs.

Copy link
Contributor

@BeverlyJaneJ BeverlyJaneJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM lots of content!!! I wasn't able to see the separate pages in the preview but I hope this helps. Hope your keyboard didn't cause a small house fire.

- Tempo 2.6 or newer
- A configured [Tempo data source](https://grafana.com/docs/grafana/latest/datasources/tempo/configure-tempo-data-source/) receiving tracing data

Once installed, you can access Explore Traces:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Once installed, you can access Explore Traces:
Once installed, to access Explore Traces:

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I'm a bit lost. Should the "once installed" section be after all the config steps? Are these the config steps:

  • Before you begin - Grafana instance, Tempo 2.6+, Tempo DS
  • Install plugin either with CLI or in Grafana GUI

Also have questions about why I would install in Docker container? Maybe separate out:

  • To install in instance, do these things.
  • To install in Docker container (instead of instance?), (instructions)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is one of those sections that gets a little confusing because you can install or run Grafana in multiple ways -- including using it in a Docker container. The Docker container is actually how I used the plugin.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about putting the "to access" section after the installation part. Sounds like I should

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've moved the Access steps to the bottom and have reworked the other sections to be set up instead of access. I think that makes it clearer. thank you for the suggestions!

docs/sources/access/index.md Outdated Show resolved Hide resolved
docs/sources/access/index.md Outdated Show resolved Hide resolved
docs/sources/access/index.md Outdated Show resolved Hide resolved

You can refine any selected views by selecting a Profile type, Label, or Flame graph from one of the charts.
Click and drag on an area of interest to see more detail.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully, there's images that refine the difference between choosing and selecting a view. This seems muddy to me, but I'm not familiar with this at all, lol.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't worry abourt this page. The Views page isn't updated for traces since it is absed on profiles.

docs/sources/investigate/index.md Outdated Show resolved Hide resolved
docs/sources/investigate/index.md Outdated Show resolved Hide resolved
docs/sources/investigate/index.md Outdated Show resolved Hide resolved
docs/sources/investigate/index.md Outdated Show resolved Hide resolved
docs/sources/investigate/index.md Outdated Show resolved Hide resolved
Copy link
Contributor

@tacole02 tacole02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, @knylander-grafana 😄

docs/sources/access/index.md Outdated Show resolved Hide resolved

To use Explore Traces with Grafana Cloud, you need:

- A Grafana Cloud account
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the preceding section, you punctuated your lists, but here (and below) you didn't. I don't think it matters either way, but we should probably be consistent throughout.

Copy link
Contributor Author

@knylander-grafana knylander-grafana Sep 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This made me go and look at the Google Developer Style guide for bulleted lists, https://developers.google.com/style/lists

Let me check on this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, Google Style Guide says - if the item doesn't include a verb, don't add end punctuation. So, in the case of the requirements section, these bullets should not have end punctuation. In the cast of the first section, where there are complete sentences with a run-in heading, there should be end punctuation.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this!

docs/sources/access/index.md Outdated Show resolved Hide resolved
docs/sources/access/index.md Outdated Show resolved Hide resolved

1. In Grafana, go to **Administration** > **Plugins and data** > **Plugins**.
2. Search for "Explore Traces".
3. Select Explore Traces.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a UI element or an item on a list? Do we need bold?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a plugin name, so neither a UI element nor an item on a list. It comes up as a tile on the plugin list.

docs/sources/concepts/index.md Outdated Show resolved Hide resolved
docs/sources/get-started/index.md Outdated Show resolved Hide resolved
docs/sources/get-started/index.md Outdated Show resolved Hide resolved
docs/sources/investigate/index.md Outdated Show resolved Hide resolved
docs/sources/investigate/index.md Outdated Show resolved Hide resolved
Co-authored-by: Taylor C <[email protected]>
Co-authored-by: Heitor Tashiro Sergent <[email protected]>
@knylander-grafana knylander-grafana merged commit fadef44 into main Sep 24, 2024
3 of 4 checks passed
@knylander-grafana knylander-grafana deleted the create-doc-page-suite branch September 24, 2024 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
obscon type/docs Used by Docs team for project management
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Separate Explore Traces doc into page suite like Explore Profiles
4 participants