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
  1. In TIBCO BusinessEvents Studio, open the project CDD file for editing.
  2. On the Cluster tab, under Application Metrics, select Metrics Store.
  3. In the Configuration window, provide the values for the following configurations:
    FieldDescription
    Store ProviderSelect InfluxDB 1.x.
    InfluxDB URLSpecify URL of the InfluxDB server.
    Database NameSpecify database name of the InfluxDB database.
    UsernameUser name to access the InfluxDB server.
    PasswordPassword 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 LevelCondition fulfilled for a write operation performed on the database to be successful
    ALLWrite succeeds only if it reaches all cluster members.
    ANYWrite succeeds if it reaches any cluster members.
    ONEWrite succeeds if it reaches any cluster member.
    QUORUMWrite succeeds only if it reaches a quorum of cluster members.
     

    Enable BatchSelect 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 LimitMaximum number of data points stored in the retry buffer.
    Batch Precision

    Specify the time precision for the batch.

    Default value: nanosecond

    Batch Consistency LevelSpecify the consistency level for the batch.
  4. (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.