Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

TDengine datasource plugin #812

Closed

Conversation

sangshuduo
Copy link

TDengine is an open-source big data platform designed and optimized for Internet of Things (IoT), Connected Vehicles, and Industrial IoT. Besides the 10x faster time-series database, it provides caching, stream computing, message queuing and other functionalities to reduce the complexity and costs of development and operations.

For verifying the TDengine data source plugin, please refer to https://www.taosdata.com/en/documentation/connections-with-other-tools/#Grafana. But need change TDengine RESTful port from 6020 to 6041.

TDengine docker can be run as following command:

docker run tdengine/tdengine:latest
Thanks.

@daniellee daniellee added this to Needs triage in Plugin submissions via automation Dec 16, 2020
@daniellee daniellee added the type/datasource Categorizes the submission as a data source label Dec 16, 2020
@marcusolsson
Copy link
Contributor

Hi @sangshuduo,

Could you please package the plugin as a ZIP archive and validate it (paste the URL to a ZIP archive containing the plugin)?

@marcusolsson marcusolsson moved this from Needs triage to Waiting for Metadata in Plugin submissions Jan 5, 2021
@sangshuduo
Copy link
Author

@marcusolsson

I tried to input 'https://github.com/taosdata/grafanaplugin/releases/download/v2.0.0/taosdata-tdengine-datasource.zip' on 'validate it' service but got 'Internal Server Error'. Since the it can validate other zip file. I guess something wrong in my zip file led its dysfunction but no clue how to solve my package now. Could you please help to try? Thanks.

@sangshuduo
Copy link
Author

@daniellee @marcusolsson could you please kindly help to see what's the detail of the internal server error? I have no any clue what's wrong and how to fix it. thanks!

@marcusolsson
Copy link
Contributor

You can run the validator locally as well (more information here):

$ plugincheck https://github.com/taosdata/grafanaplugin/releases/download/v2.0.0/taosdata-tdengine-datasource.zip
unexpected status code: 409

I'm getting a 409 Conflict error, but I'm not quite sure why. I'll try to troubleshoot this and get back to you.

@sangshuduo
Copy link
Author

@marcusolsson thanks.

@nanjj
Copy link

nanjj commented Apr 29, 2021

@sangshuduo the plugin.json has some typo:

"keywords": "timeseries", "time-series", "database", "IoT", 
    "monitoring", "datasource", "taosdata", "tdengine",

==>

"keywords": ["timeseries", "time-series", "database", "IoT", 
   "monitoring", "datasource", "taosdata", "tdengine"],

so make plugincheck wierd behavior.

@marcusolsson Here: https://github.com/grafana/plugin-validator/blob/master/pkg/plugin/check.go#L213 no error check, so the ID is empty, later when check org the 409 found.

@sangshuduo
Copy link
Author

@nanjj  thanks for your comment. I will upload new one soon.

@marcusolsson
Copy link
Contributor

marcusolsson commented Apr 30, 2021

@nanjj Good catch! As an FYI, we're working on version 2 of the plugin validator which will have more checks, as well as be more configurable. You can try it out here: https://github.com/grafana/plugin-validator/tree/master/cmd/plugincheck2

@marcusolsson marcusolsson added submission/update Submission is an update to an existing plugin submission/new Submission is a new plugin milestone/needs-metadata Submission is missing the required metadata and removed triage/new-update submission/update Submission is an update to an existing plugin labels Jun 4, 2021
@nanjj
Copy link

nanjj commented Jul 29, 2021

@sangshuduo so where is the new one?

@sangshuduo
Copy link
Author

@nanjj thanks for asking. we are working on the plugin refactoring. will submit to official repository later after development complete.

@sangshuduo sangshuduo closed this Aug 13, 2021
Plugin submissions automation moved this from Waiting for Metadata to Done Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
milestone/needs-metadata Submission is missing the required metadata submission/new Submission is a new plugin type/datasource Categorizes the submission as a data source
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants