TimesTenScaleoutSpecSpecPrometheus

TimesTenScaleoutSpecSpecPrometheus appears in TimesTenScaleoutSpecSpec . The following table describes the syntax for TimesTenScaleoutSpecSpecPrometheus.

Table 17-8 TimesTenScaleoutSpecSpecPrometheus syntax

Field Type Description

certSecret

string

When using https to serve TimesTen metrics, a Kubernetes Secret is required.

If you create your own Kubernetes Secret, use the certSecret datum to specify the name of this Secret. This Secret contains an Oracle Wallet that holds the necessary certificates used by the TimesTen exporter for serving TimesTen metrics by https. See Create Your Own Oracle Wallet, Certificates, and Secrets for Exposing TimesTen Metrics.

If you want the TimesTen Operator to automatically create an Oracle Wallet, certificates, and Kubernetes Secrets that are required for https, do not specify the certSecret datum. We recommend this approach. See About Transport Layer Security (mutual TLS) Certificates for TimesTen Metrics.

createPodMonitors

boolean

Determines if the TimesTen Kubernetes Operator creates PodMonitors.

Valid values:

  • true (or not specified): The TimesTen Operator creates PodMonitors.

  • false: The TimesTen Operator does not create PodMonitors.

See Expose TimesTen Metrics with the TimesTen Kubernetes Operator for details.

insecure

boolean

Determines if the TimesTen exporter is started with no authentication or with Transport Layer Security (mutual TLS).

Valid values:

  • true: The TimesTen exporter is started with no authentication and serves data by http.

  • false (or not specified): The TimesTen exporter is started with mutual TLS and serves data by https.

For more information, see About Using http or https for TimesTen Metrics.

For information about the TimesTen exporter, see About the TimesTen exporter in the Oracle TimesTen In-Memory Database Monitoring and Troubleshooting Guide.

limitRate

integer

Determines the limit of GET requests per minute that the TimesTen exporter accepts. The value can be any integer value from 1 to 15.

The default is 10.

port

integer

Port on which the TimesTen exporter listens.

The default is 8888.

publish

boolean

Determines if the TimesTen Operator provisions a TimesTen exporter container.

Valid values:

  • true (or not specified): The TimesTen Operator provisions a TimesTen exporter container.

  • false: The TimesTen Operator does not provision a TimesTen exporter container.

If you do not specify the publish datum, and any other datum is specified in the .spec.ttspec.prometheus clause, the default value for the publish datum is true.

If you do not specify the .spec.ttspec.prometheus clause and the TimesTen release is 22.1 or greater, the default value for the publish datum is dependent on the value of the EXPOSE_METRICS TimesTen Operator environment variable:
  • If EXPOSE_METRICS is "1" (or not specified), the TimesTen Operator treats the publish datum as true.

  • If EXPOSE_METRICS is "0", the TimesTen Operator treats the publish datum as false.

For more information, see Expose TimesTen Metrics with the TimesTen Kubernetes Operator and TimesTen Kubernetes Operator Environment Variables.