
config-docs.wso2.metrics.jdbc.yaml Maven / Gradle / Ivy
The newest version!
# Copyright (c) 2024, WSO2 Inc. (http://www.wso2.org) All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the \"License\");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an \"AS IS\" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Carbon Metrics Configuration Parameters for JDBC Reporters
wso2.metrics.jdbc:
# Data Source Configurations for JDBC Reporters
dataSource:
- lookupDataSource: true
dataSourceName: java:comp/env/jdbc/WSO2MetricsDB
# Schedule regular deletion of metrics data older than a set number of days.
# It is recommended that you enable this job to ensure your metrics tables do not get extremely large.
# Deleting data older than seven days should be sufficient.
scheduledCleanup:
# Enable scheduled cleanup to delete Metrics data in the database.
enabled: true
# This is the period for each cleanup operation in seconds.
scheduledCleanupPeriod: 86400
# The scheduled job will cleanup all data older than the specified days
daysToKeep: 7
dataSourceProperties: {}
reporting: !!org.wso2.carbon.metrics.jdbc.core.config.model.ReportingConfig
jdbc: !!set
? dataSource:
dataSourceName: java:comp/env/jdbc/WSO2MetricsDB
dataSourceProperties: {}
lookupDataSource: true
scheduledCleanup:
daysToKeep: 7
enabled: true
scheduledCleanupPeriod: 86400
enabled: false
excludes: !!set {}
includes: !!set {}
name: JDBC
pollingPeriod: 60
source: c101cf1cc099
useRegexFilters: false
: null
© 2015 - 2025 Weber Informatics LLC | Privacy Policy