InfluxDB Connector
The InfluxDB Connector allows you to connect your Heisenware application to an external, self-hosted InfluxDB instance.
For a conceptual overview of time-series databases and their use cases, please refer to the main Internal InfluxDB article.
Managing Your Connection
You must first create an instance of the connector to establish a connection with your external database.
create
create
This function initializes the connection.
Parameters You must provide an object containing the following properties:
url
: The URL of your InfluxDB instance.token
: The authentication token for accessing the database.org
: The organization name associated with your database.
delete
delete
This function permanently removes a configured database connection instance. Simply provide the name of the instance you wish to delete.
Reading Data
Once a connection is established, the functions used to interact with your external database, read
and query
, are identical to those used by the built-in Internal InfluxDB.
Last updated