We use a setup with InfluxDB and Grafana. Some of the signals we log and want to display as graphs in Grafana are composed of vectors of objects with a value and an id. The index in the vector might change for an object with a specific id. These signals are logged as fields in InfluxDB. An example is:
vec[0].id, vec[0].value, vec[1].id, vec[1].value
Is it possible to create a data transformation plugin to map the specific object ids and values to a single series with a label containing the id field?
I tried looking into both datasource and panel plugins, but since you cannot extend the graph panel or the InfluxDataSource it seems like I’m left with the option of implementing the whole graph panel or the influxDB datasource myself.
Is there any other goods ways of achieving the desired graph?
Hi @orjgre ,
Grafana 8, which is still in beta, is introducing a lot of extra features for edge computing. It sounds like it might be able to help your situaion:
<!-- 8.0.0-beta2 START -->
# 8.0.0-beta2 (2021-05-20)
### Features and enhancements
* **AppPlugins:** Expose react-router to apps. [#33775](https://github.com/grafana/grafana/pull/33775), [@dprokop](https://github.com/dprokop)
* **AzureMonitor:** Add Azure Resource Graph. [#33293](https://github.com/grafana/grafana/pull/33293), [@shuotli](https://github.com/shuotli)
* **AzureMonitor:** Managed Identity configuration UI. [#34170](https://github.com/grafana/grafana/pull/34170), [@kostrse](https://github.com/kostrse)
* **AzureMonitor:** Token provider with support for Managed Identities. [#33807](https://github.com/grafana/grafana/pull/33807), [@kostrse](https://github.com/kostrse)
* **AzureMonitor:** Update Logs workspace() template variable query to return resource URIs. [#34445](https://github.com/grafana/grafana/pull/34445), [@joshhunt](https://github.com/joshhunt)
* **BarChart:** Value label sizing. [#34229](https://github.com/grafana/grafana/pull/34229), [@dprokop](https://github.com/dprokop)
* **CloudMonitoring:** Add support for preprocessing. [#33011](https://github.com/grafana/grafana/pull/33011), [@sunker](https://github.com/sunker)
* **CloudWatch:** Add AWS/EFS StorageBytes metric. [#33426](https://github.com/grafana/grafana/pull/33426), [@freshleafmedia](https://github.com/freshleafmedia)
* **CloudWatch:** Allow use of missing AWS namespaces using custom metrics. [#30961](https://github.com/grafana/grafana/pull/30961), [@mmcoltman](https://github.com/mmcoltman)
* **Datasource:** Shared HTTP client provider for core backend data sources and any data source using the data source proxy. [#33439](https://github.com/grafana/grafana/pull/33439), [@marefr](https://github.com/marefr)
* **InfluxDB:** InfluxQL: allow empty tag values in the query editor. [#34311](https://github.com/grafana/grafana/pull/34311), [@gabor](https://github.com/gabor)
* **Instrumentation:** Instrument incoming HTTP request with histograms by default. [#33921](https://github.com/grafana/grafana/pull/33921), [@bergquist](https://github.com/bergquist)
* **Library Panels:** Add name endpoint & unique name validation to AddLibraryPanelModal. [#33987](https://github.com/grafana/grafana/pull/33987), [@kaydelaney](https://github.com/kaydelaney)
This file has been truncated. show original
system
Closed
May 26, 2022, 12:54am
3
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.