Comments (1)
Hi Michael,
Sorry for late reply.
Actually, we are using a lot Grafana and Superset in our typical deployments.
When using Grafana, we get data directly from the DB (as Grafana is a real-time oriented tool, this is by far the most efficient way to work with). And we are doing using such query:
SELECT
time AS "time",
measured_value AS "temperature",
temporal_entity_attribute.entity_id as entity_id
FROM attribute_instance
LEFT JOIN temporal_entity_attribute ON temporal_entity_attribute.id = attribute_instance.temporal_entity_attribute
WHERE
$__timeFilter(time) AND
temporal_entity_attribute.attribute_name = 'https://vocab.egm.io/temperature' AND
temporal_entity_attribute.entity_id in ($Room) -- where Room is a dashboard variable
ORDER BY 1
For Superset, this is getting a bit more complex since we typically want to apply a denormalization process on the data. To do this, we use Apache NiFi (https://nifi.apache.org): using the NGSI-LD Subscription API, a notification is sent to a flow in NiFi when an entity of interest is updated, then the flow retrieves all the entities that the entity is in relation with (its relationships) and export the result in a "big" table which is easier to work with a BI oriented tool like Superset.
The specific NiFi processor we are using to do this is in https://github.com/easy-global-market/nifi-ngsild-postgresql. It is unfortunately missing some documentation right now but it can be an opportunity to at least add some instructions on how to set it up and use it.
Let me know.
Benoit.
from stellio-context-broker.
Related Issues (20)
- Add support for `notificationTrigger` in subscriptions
- About migration from 2.3.0 to 2.7.0, with a big existing database on Kubernetes HOT 3
- Issue with @ character in DateTime data types (@type and @value are refused) HOT 3
- Upgrade to Timescale 2.12.x
- coordinates, q and georel parameters should accept encoded and unencoded reserved characters like `,` `;` `[` and `]`
- Add support for `VocabularyProperty` - 4.5.20
- Update simplified representation in multi-attribute case - 4.5.4
- log level for api-gateway can't be limited to WARN, INFO messages still appear in the logs, need of another variable to control logging level HOT 8
- Align Append and Update Entity Attributes to last expected behaviour
- Add support for JsonProperty
- `NGSILD-Tenant` Header Bad Request. Tenants are Strings and not IRIs. HOT 6
- Add support for `sysAttrs` in notifications parameters
- Add support for `cooldown` and `timeout` in endpoint definition
- Add support for `showChanges` and previous values in notifications parameters
- Relaxing of tenant names to allow for any string
- Stellio Take so much time to execute temporal queries HOT 2
- Add a pre-commit hook to run Detekt
- Missing controls over the attributes when updating a subscription
- Problem with missing @ for @type HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stellio-context-broker.