Configuring InfluxDB as a Metrics Store
To integrate your TIBCO BusinessEvents application with InfluxDB, you can configure InfluxDB as the metrics store. You can use the steps below to configure the InfluxDB metrics store through the CDD file:
To know more about InfluxDB and Grafana integration, see Integrating TIBCO BusinessEvents with InfluxDB and Grafana.
- Procedure
- In TIBCO BusinessEvents Studio, open the project CDD file for editing.
- On the Cluster tab, under Application Metrics, select Metrics Store.
- In the Configuration window, provide the values for the following configurations:
Field Description Store Provider Select InfluxDB 1.x. InfluxDB URL Specify URL of the InfluxDB server. Database Name Specify database name of the InfluxDB database. Username User name to access the InfluxDB server. Password Password for the user name to access the InfluxDB server. Retention Policy Specify the retention policy on your InfluxDB database.
Default value: autogen
Consistency Level If your InfluxDB database is set up on a cluster, specify the consistency level from any, one, quorum, or all.
Default value: ONE
Consistency Level Condition fulfilled for a write operation performed on the database to be successful ALL Write succeeds only if it reaches all cluster members. ANY Write succeeds if it reaches any cluster members. ONE Write succeeds if it reaches any cluster member. QUORUM Write succeeds only if it reaches a quorum of cluster members. Enable Batch Select this check box to configure batching of individual data point write operations to InfluxDB. Batch Threshold Specifies the size of a batch that needs to be reached for the client to flush the batch to the database server.
Default value: 1000
Batch Flush Interval Specifies the interval after which the client flushes the batch to the database server.
Default value: 1000 millisecond
Batch Jitter Interval Use this field to increase the duration of the batch flush interval by a random value. Specify the value to this field as the maximum amount of time to add to the flush interval.
Default value: 0 millisecond
Batch Buffer Limit Maximum number of data points stored in the retry buffer. Batch Precision Specify the time precision for the batch.
Default value: nanosecond
Batch Consistency Level Specify the consistency level for the batch. -
(Optional) To enable secure authentication, select the Security Enabled check box and fill values for the following fields:
Field Description Trusted Folder Path While using SSL authentication, provide the path to the base folder containing the certificate files. Trust Store Password Specify a password for the trust store.