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

extend readme with info about provisioned data source #172

Merged
merged 3 commits into from
Jun 10, 2022

Conversation

valentinsavenko
Copy link
Contributor

No description provided.

README.md Outdated Show resolved Hide resolved
README.md Outdated
@@ -47,6 +47,22 @@ Options:

To create a new Access Token, navigate to [Personal Access Tokens](https://github.com/settings/tokens) and create a click "Generate new token."

### Data source with provisioning
[It’s now possible to configure data sources using config files with Grafana’s provisioning system.](https://grafana.com/docs/grafana/latest/datasources/elasticsearch/#configure-the-data-source-with-provisioning)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
[It’s now possible to configure data sources using config files with Grafana’s provisioning system.](https://grafana.com/docs/grafana/latest/datasources/elasticsearch/#configure-the-data-source-with-provisioning)
It’s possible to configure data sources using config files with [Grafana’s provisioning system].(https://grafana.com/docs/grafana/latest/administration/provisioning/#data-sources)
```yaml
# config file version
apiVersion: 1
datasources:
- name: GitHub Repo Insights
type: grafana-github-datasource
jsonData:
owner: ""
repository: ""
secureJsonData:
accessToken: "<github api token>"

Copy link
Member

Choose a reason for hiding this comment

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

Can you please include this as well?

Copy link
Member

Choose a reason for hiding this comment

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

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 yaml-part? It's already in there this would double it?

Copy link
Member

Choose a reason for hiding this comment

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

We usually add provisioning in the format above thats why I thought that it would make sense to include it that way. But I guess people can figure it out from the prom operator yml whats needed.

README.md Outdated Show resolved Hide resolved
valentinsavenko and others added 2 commits June 9, 2022 15:25
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
@zoltanbedi zoltanbedi merged commit 719a699 into grafana:main Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants