# Grafana Plugin Development Office Hours

**URL:** <https://community.grafana.com/t/grafana-plugin-development-office-hours/43954>\
**Category:** Grafana Plugin Development\
**Created:** [March 3, 2021, 5:30pm UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954 "2021-03-03T17:30:21Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcusolsson](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/marcusolsson/32/7922_2.png) [@marcusolsson](https://community.grafana.com/u/marcusolsson)\
**Post date:** [March 3, 2021, 5:30pm UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/1 "2021-03-03T17:30:22Z")

</div>

Hi,

I’m Marcus. I’m a Developer Advocate at Grafana Labs. I’m the author of most of the plugin documentation (guides and tutorials) and I have written and published several plugins for Grafana 7.0. I also review and publish plugins from the open source community.

For the coming weeks, I’m going to try something new. You’ll be able to schedule a 30 minute time slot with me to chat about anything related to plugin development for Grafana.

I’ll do my best to answer any questions you have, help you troubleshoot bugs, or to give you a kickstart in setting up your environment for building your first plugin.

We can also walk through open questions and testing procedures for plugins you submitted for review.

[Book a time slot](https://calendly.com/marcusolsson/plugin-development)

This will be fun!

---

<div class="post-metadata">

**Author:** ![mdmoore](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/mdmoore/32/753_2.png) [@mdmoore](https://community.grafana.com/u/mdmoore)\
**Post date:** [March 4, 2021, 9:22pm UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/2 "2021-03-04T21:22:13Z")

</div>

Salut for reaching out like this. I can’t say how useful this would been when I was developing my panel plugins. Nevertheless, you have been super helpful in addressing the issues I have run into with the Grafana 7/react related teething problems.

The one thing I would suggest - look throuth the various web tutorials - especially the ones from [grafana.com](http://grafana.com) - to see which ones are now out of date. and, if you can, delete them or redirect to the current state of affairs.

Thanks again,  
Michael Moore

---

<div class="post-metadata">

**Author:** ![marcusolsson](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/marcusolsson/32/7922_2.png) [@marcusolsson](https://community.grafana.com/u/marcusolsson)\
**Post date:** [March 4, 2021, 9:42pm UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/3 "2021-03-04T21:42:20Z")

</div>

Thank you for the kind words! Great work on getting your plugins ready for 7.0 💪

We try to update tutorials and documentation whenever we introduce changes, but sometimes we miss. If you do spot outdated documentation, let us know and we’ll get it fixed!

---

<div class="post-metadata">

**Author:** ![sbouchex](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/sbouchex/32/15324_2.png) [@sbouchex](https://community.grafana.com/u/sbouchex)\
**Post date:** [March 9, 2021, 2:50pm UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/4 "2021-03-09T14:50:00Z")

</div>

Hello, great idea to open this new communication channel (without using a github PR !)

Nothing on my side as PR is already in the pipe (and another in grafana/plugin-validator repository)

I will contact you if needed

---

<div class="post-metadata">

**Author:** ![schoenbach](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@schoenbach](https://community.grafana.com/u/schoenbach)\
**Post date:** [March 19, 2021, 9:52am UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/5 "2021-03-19T09:52:07Z")

</div>

Hi Marcus,

Highly appreciate your post here. I am quite new to backend-plugin implementation.  
Found several docs, and tutorials on this topic.

Besides that, is there any further code-starter example than this one that you can suggest?  
[https://github.com/grafana/grafana-starter-datasource-backend.git?](https://github.com/grafana/grafana-starter-datasource-backend.git?)

---

<div class="post-metadata">

**Author:** ![marcusolsson](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/marcusolsson/32/7922_2.png) [@marcusolsson](https://community.grafana.com/u/marcusolsson)\
**Post date:** [March 19, 2021, 9:57am UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/6 "2021-03-19T09:57:11Z")

</div>

I assume that you’re looking for examples on backend data sources specifically?

Here are a few examples of backend data sources that you can use for inspiration:

- [GitHub - grafana/google-sheets-datasource: Load Google Sheets in grafana](https://github.com/grafana/google-sheets-datasource)
- [GitHub - RedisGrafana/grafana-redis-datasource: Redis Data Source for Grafana](https://github.com/RedisGrafana/grafana-redis-datasource)
- [GitHub - alexanderzobnin/grafana-zabbix: Zabbix plugin for Grafana dashboard](https://github.com/alexanderzobnin/grafana-zabbix)
- [GitHub - marcusolsson/grafana-csv-datasource: A data source for loading CSV data into Grafana.](https://github.com/marcusolsson/grafana-csv-datasource)

---

<div class="post-metadata">

**Author:** ![schoenbach](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@schoenbach](https://community.grafana.com/u/schoenbach)\
**Post date:** [March 19, 2021, 10:07am UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/7 "2021-03-19T10:07:07Z")

</div>

Not specifically for data sources, but every code snippet is helpful to me. I try to implement an additional authentication sso-provider (ID4me protocol, using oidc discovery in front of “generic\_auth”) as backend plugin. More backgorund details in this [post](https://community.grafana.com/t/additional-id4me-single-sign-on-login-integration-within-grafana/44708).  
However, thanks for your link list above… I will check (I guess there wont be any concrete example for my use-case)

---

<div class="post-metadata">

**Author:** ![erdene](https://avatars.discourse-cdn.com/v4/letter/e/a9a28c/32.png) [@erdene](https://community.grafana.com/u/erdene)\
**Post date:** [March 19, 2021, 11:10am UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/8 "2021-03-19T11:10:13Z")

</div>

Greetings @marcusolsson

Much appreciated for this brilliant idea!

I have a suggestion - could it be possible to post the main points of the chats to somewhere.

If so, we initially look for answers from there, and we’ll be able to decide whether to contact you or not.  
Plus, you don’t need to explain the similar questions over and over again.

Thanks again.

---

<div class="post-metadata">

**Author:** ![marcusolsson](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/marcusolsson/32/7922_2.png) [@marcusolsson](https://community.grafana.com/u/marcusolsson)\
**Post date:** [March 19, 2021, 1:07pm UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/9 "2021-03-19T13:07:13Z")

</div>

Out of the five sessions I’ve had so far, I’ve yet to receive the same question. Even related questions become unique since it’s in the context of a specific use case.

I’ve been keeping anonymous notes for each chat I’ve had so far. I summarize those notes and forward them to the engineering teams which hopefully will result in better docs, APIs, and features down the road. Not sure what the best way to share the notes publicly would be. Ideally I’d prefer to improve the docs rather than maintaining a list of Q&As. That being said, I’d love to do a blog post every now and then where I address the questions in written form.

On a personal note, I’d just like to add that everyone has really been super friendly and I’ve had so much fun learning about what kind of plugins people are building. The vast majority of plugins are in-house plugins that end up never being published, so I’m incredibly grateful that you’re willing to share what you’re doing with the plugin platform ❤

---

<div class="post-metadata">

**Author:** ![jamesmckain](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jamesmckain](https://community.grafana.com/u/jamesmckain)\
**Post date:** [March 19, 2021, 1:32pm UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/10 "2021-03-19T13:32:32Z")

</div>

@marcusolsson - In regard to signing (in my case private) plugins…  
It was unclear that “creating an API key with PluginPublisher role” was done after and inside my Grafana **Cloud** account. I created a [grafana.com](http://grafana.com) login and was then spinning trying to find where to create a plugin-signing API key. It wasn’t until I went a step farther and created my Cloud account that it became clear. Perhaps you could add some clarity here for future developers.  
[Sign a plugin | Grafana Labs](https://grafana.com/docs/grafana/latest/developers/plugins/sign-a-plugin/#sign-your-plugin-using-grafana-toolkit)

---

<div class="post-metadata">

**Author:** ![schoenbach](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@schoenbach](https://community.grafana.com/u/schoenbach)\
**Post date:** [March 23, 2021, 9:42am UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/11 "2021-03-23T09:42:33Z")

</div>

@alexanderzobnin  
@marcusolsson

Hi Marcus,  
Hi Alexander,

Regarding my use-case (providing an additional auth provider as backend-plugin ). I have a concrete question:

Is it possible to patch/extend this object (LoginServices) via plugin (e.g. type page)

> <https://github.com/grafana/grafana/blob/cfdb9db775932e90a2f8e898531490a059d154b5/public/app/core/components/Login/LoginServiceButtons.tsx>

If not I think the best way would be to proceed with PR implementation instead of plugin as already done by other people see below

> <https://github.com/grafana/grafana/pull/22972>

---

<div class="post-metadata">

**Author:** ![skowalski](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/skowalski/32/16160_2.png) [@skowalski](https://community.grafana.com/u/skowalski)\
**Post date:** [April 22, 2021, 2:52pm UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/12 "2021-04-22T14:52:51Z")

</div>

Hello,  
I am trying to sign my own Plugin, but I struggle a bit with the process.  
At first I created an cloud account [https://skowalski.grafana.net/](https://skowalski.grafana.net/)  
Then I was trying to create an Api Token following this documenation: [Create API keys | Grafana Labs](https://grafana.com/docs/grafana-cloud/cloud-portal/create-api-key/)  
Here I am missing the PluginPublisher role.  
When I know try to sign the Plugin with

```
export GRAFANA_API_KEY=<MY_API_KEY>
npx @grafana/toolkit plugin:sign

```

I get the following log:  
Building manifest…  
Signing manifest…  
Error: Error signing manifest: Token invalid  
at Object. (/home/ubuntu/.npm/\_npx/2627/lib/node\_modules/@grafana/toolkit/src/plugins/manifest.js:165:31)  
at step (/home/ubuntu/.npm/\_npx/2627/lib/node\_modules/@grafana/toolkit/node\_modules/tslib/tslib.js:140:27)  
at Object.throw (/home/ubuntu/.npm/\_npx/2627/lib/node\_modules/@grafana/toolkit/node\_modules/tslib/tslib.js:121:57)  
at rejected (/home/ubuntu/.npm/\_npx/2627/lib/node\_modules/@grafana/toolkit/node\_modules/tslib/tslib.js:112:69)  
at processTicksAndRejections (internal/process/task\_queues.js:93:5)

From here on, I don’t know what to do. Any help would be appreciated.

Best regards

---

<div class="post-metadata">

**Author:** ![marcusolsson](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/marcusolsson/32/7922_2.png) [@marcusolsson](https://community.grafana.com/u/marcusolsson)\
**Post date:** [September 7, 2021, 2:26pm UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/13 "2021-09-07T14:26:38Z")

</div>

Pinned on September 7, 2021, 2:26pm UTC



---

<div class="post-metadata">

**Author:** ![marcusolsson](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/marcusolsson/32/7922_2.png) [@marcusolsson](https://community.grafana.com/u/marcusolsson)\
**Post date:** [September 15, 2021, 10:31am UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/14 "2021-09-15T10:31:14Z")

</div>

Unpinned on September 15, 2021, 10:31am UTC



---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [September 15, 2022, 10:31am UTC](https://community.grafana.com/t/grafana-plugin-development-office-hours/43954/15 "2022-09-15T10:31:25Z")

</div>

Closed on September 15, 2022, 10:31am UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
