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

Use grafana sdk instead of a forked repo #24

Closed
mvalletta opened this issue Jun 21, 2021 · 6 comments
Closed

Use grafana sdk instead of a forked repo #24

mvalletta opened this issue Jun 21, 2021 · 6 comments
Milestone

Comments

@mvalletta
Copy link
Contributor

Hi @safaci2000
can you use https://github.com/grafana-tools/sdk instead of your forked repo https://github.com/netsage-project/sdk ?
I think it's better for security reasons

@safaci2000
Copy link
Contributor

safaci2000 commented Jun 21, 2021

I don't mind doing so though they've been really slow at handling PRs. I need to go back and see what all the changes are. I need several patches to be accepted before we can switch over. the netsage fork is ahead and fixed some behavior that prevented some features from working. Like this PR been open since May.

so, the grafana-tools is not officially related to the official grafana project. Why do you think it's a security issue?

@mvalletta
Copy link
Contributor Author

Why do you think it's a security issue?
I can trust grafana/sdk but I can't of netsage-project/sdk because grafana-dashboard-manager has few downloads and I don't known you.
This require an extra audit on external library like grafana/sdk and this is a waste of time.

@safaci2000
Copy link
Contributor

safaci2000 commented Jun 24, 2021

I think that's the point I was trying to make. It's not an official SDK from the grafana community. It's under grafana-tools which isn't owned by grafana it's a group of individuals that wrote a useful wrappers around the Grafana API. It's not different than if I create an org called grafana-official and put it under that namespace. It won't make it any more official than netsage-project or grafana-tools.

To quote their Org: "Tools and libraries for helping work with Grafana (http://grafana.org). This is a community effort with no official relations to Grafana project."


Basically If we can get more traction on the grafana-tools I'm happy to use it but since they seem to be pretty slow on getting changes in, I need to use the fork. You can point it to grafana-tools but you'll get compiler errors due to patches still missing.

Long term, might revisit what we're actually getting out of the SDK and if it's even worth pulling that in or if it would be easier to re-implement the features we need in the grafana-tools itself.

See: grafana-tools/sdk#152 for more.

@mvalletta
Copy link
Contributor Author

I agree with all you wrote.
The only difference I saw between your fork and the master are the number of watch, star and fork. Larger is the community, larger is the trustworthiness , now I don't have other parameters to evaluate a project.
But I hope will be good news on the grafana-tools/sdk#152.

Long term, might revisit what we're actually getting out of the SDK and if it's even worth pulling that in or if it would be easier to re-implement the features we need in the grafana-tools itself.
I think this is another valid option.

@safaci2000
Copy link
Contributor

safaci2000 commented Jun 25, 2021

I added one more PR for the dashboard import I think that's the big one that broke things. I'll take another pass to make sure that's all and if we can come up with an easy way to flip back and forth as needed, i'm fine with staying closer to upstream if we can.

This is the only change left that needs to be accepted: grafana-tools/sdk#153

@safaci2000 safaci2000 added this to the 0.1.6 milestone Jun 28, 2021
@safaci2000
Copy link
Contributor

This has been addressed. Please see #31

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

No branches or pull requests

2 participants