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

Document the Athena data source for Grafana #50

Merged
merged 8 commits into from
Sep 13, 2021
Merged

Document the Athena data source for Grafana #50

merged 8 commits into from
Sep 13, 2021

Conversation

andresmgot
Copy link
Collaborator

Fixes #21

Basic docs with the current status of the plugin. We can add more details / examples as we add new features.

@andresmgot andresmgot requested review from sunker, sarahzinger, a team, osg-grafana and Eve832 and removed request for a team September 7, 2021 09:36
Copy link
Contributor

@sunker sunker left a comment

Choose a reason for hiding this comment

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

LGTM


After creating a variable, you can use it in your Athena queries by using [Variable syntax](https://grafana.com/docs/grafana/latest/variables/syntax/). For more information about variables, refer to [Templates and variables](https://grafana.com/docs/grafana/latest/variables/).

### Annotations
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we remove this section for now? We can add this once #17 is implemented.

Copy link
Contributor

Choose a reason for hiding this comment

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

Rather than deleting sections, write something to acknowledge there there is an absence of annotations. That will help others remember to change that section as new development occurs.

@osg-grafana
Copy link
Contributor

Please consider aligning with this as much as possible:
https://github.com/grafana/integrations-team/wiki/Standards:-Documentation

@andresmgot
Copy link
Collaborator Author

Please consider aligning with this as much as possible:
https://github.com/grafana/integrations-team/wiki/Standards:-Documentation

Thanks @osg-grafana. I've been pointed to this other template in the past: https://docs.google.com/document/d/1Z4BAybW9K66UHZbI4euwiwyKe3-A4kS8pLAnG-85ACs/edit#. Should we deprecate that one then? (Also note that this is not an enterprise plugin, but I guess there is no adaptation for the doc for public plugins).

@osg-grafana
Copy link
Contributor

osg-grafana commented Sep 7, 2021

Please consider aligning with this as much as possible:
https://github.com/grafana/integrations-team/wiki/Standards:-Documentation

Thanks @osg-grafana. I've been pointed to this other template in the past: https://docs.google.com/document/d/1Z4BAybW9K66UHZbI4euwiwyKe3-A4kS8pLAnG-85ACs/edit#. Should we deprecate that one then? (Also note that this is not an enterprise plugin, but I guess there is no adaptation for the doc for public plugins).

Continue on the path that you are on. We on the Docs Squad need to reconcile these two pieces before advising folks on what to do. Thank you for pointing this document out. I had forgotten about it amidst all the Google Docs.

@osg-grafana osg-grafana changed the title Add basic docs Document the Athena data source for Grafana Sep 7, 2021
Copy link
Member

@sarahzinger sarahzinger left a comment

Choose a reason for hiding this comment

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

Looks good to me! I have some suggestions but they're pretty minor/non-blocking/potentially personal preference, feel free to only add if you agree with them.

README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated

#### Timeseries / Graph visualizations

For timeseries / graph visualizations, there are a few requirements:
Copy link
Member

Choose a reason for hiding this comment

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

Maybe a line saying that while all timeseries data can be shown in a table format but not vice versa

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think that'd be redundant? (we already said that anything can be shown as a table and we are talking here about requirements for timeseries).

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link

@achatterjee-grafana achatterjee-grafana left a comment

Choose a reason for hiding this comment

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

Added doc review.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved

## Getting started
## Authentication

Choose a reason for hiding this comment

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

I have created a separate section as discussed.
This should be the URL once my PR is merged: https://grafana.com/docs/grafana/latest/datasources/aws-cloudwatch/aws-authentication/

README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@osg-grafana osg-grafana left a comment

Choose a reason for hiding this comment

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

This has been fixed somewhere in code.

Copy link

@achatterjee-grafana achatterjee-grafana left a comment

Choose a reason for hiding this comment

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

Added few more doc suggestions.

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved

The backend driver is based on the implementation of [uber/athenadriver](https://github.com/uber/athenadriver), which provides a fully-featured driver for AWS Athena.
### Annotations

[Annotations](https://grafana.com/docs/grafana/latest/dashboards/annotations/) allow you to overlay rich event information on top of graphs. You can add annotations by clicking on panels or by adding annotation queries via the Dashboard menu / Annotations view.

Choose a reason for hiding this comment

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

Remove/hide this section and table to avoid reader confusion. We can show the docs when the feature is available.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

annotations are already available (it just got merged before I finished this PR).

Copy link
Contributor

@osg-grafana osg-grafana left a comment

Choose a reason for hiding this comment

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

Unblocking

README.md Outdated Show resolved Hide resolved

### Build the frontend
### AWS credentials

Choose a reason for hiding this comment

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

We should remove all authentication related information and simply redirect users to the link I mentioned above.

Copy link
Collaborator Author

@andresmgot andresmgot Sep 13, 2021

Choose a reason for hiding this comment

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

the link above (https://grafana.com/docs/grafana/latest/datasources/aws-cloudwatch/aws-authentication/) is still giving me a 404, has the related PR been merged already?

aws_secret_access_key = dasdasdsadasdasdasdsa
region = us-west-2
```

Choose a reason for hiding this comment

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

Remove content till here...

Copy link

@achatterjee-grafana achatterjee-grafana left a comment

Choose a reason for hiding this comment

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

Few more, then we should be good to go.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@andresmgot
Copy link
Collaborator Author

@achatterjee-grafana I'm going to merge this PR since I need to keep adding things in other. I will update the content once grafana/grafana#39012 is merged.

@andresmgot andresmgot merged commit 59b03ed into main Sep 13, 2021
@andresmgot andresmgot deleted the docs branch September 13, 2021 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants