# The region for which all metrics passing through this server will be persisted region: useast # Whether this server is running on a secure port accessedViaHttps: false # Topic for publishing metrics to metricsTopic: metrics # Topic for publishing domain events to eventsTopic: events kafka: brokerUris: - 192.168.10.4:9092 zookeeperUris: - 192.168.10.4:2181 healthCheckTopic: healthcheck mysql: driverClass: com.mysql.jdbc.Driver url: jdbc:mysql://192.168.10.4:3306/mon?connectTimeout=5000&autoReconnect=true user: monapi password: password maxWaitForConnection: 1s validationQuery: "/* MyService Health Check */ SELECT 1" minSize: 8 maxSize: 32 checkConnectionWhileIdle: false checkConnectionOnBorrow: true databaseConfiguration: # vertica | influxdb databaseType: influxdb # Uncomment if databaseType is influxDB influxDB: name: mon replicationFactor: 1 url: http://192.168.10.4:8086 user: mon_api password: password # Uncomment if databaseType is vertica # As of 7/10 there is a bug in the monasca-api that requires this section even if databaseType is set to influxdb vertica: driverClass: com.vertica.jdbc.Driver url: jdbc:vertica://localhost/mon user: dbadmin password: password maxWaitForConnection: 1s validationQuery: "/* MyService Health Check */ SELECT 1" minSize: 4 maxSize: 32 checkConnectionWhileIdle: false middleware: enabled: true serverVIP: 192.168.10.5 serverPort: 5000 connTimeout: 500 connSSLClientAuth: false connPoolMaxActive: 3 connPoolMaxIdle: 3 connPoolEvictPeriod: 600000 connPoolMinIdleTime: 600000 connRetryTimes: 2 connRetryInterval: 50 defaultAuthorizedRoles: [user, domainuser, domainadmin, monasca-user] agentAuthorizedRoles: [monasca-agent] adminAuthMethod: password adminUser: admin adminPassword: admin adminToken: timeToCacheToken: 600 maxTokenCacheSize: 1048576 server: applicationConnectors: - type: http maxRequestHeaderSize: 16KiB # Allow large headers used by keystone tokens # Logging settings. logging: # The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL. level: INFO # Logger-specific levels. loggers: # Sets the level for 'com.example.app' to DEBUG. com.example.app: DEBUG appenders: - type: console threshold: ALL timeZone: UTC target: stdout logFormat: # TODO - type: file currentLogFilename: /var/log/monasca/monasca-api.log threshold: ALL archive: true archivedLogFilenamePattern: /var/log/monasca/monasca-api-%d.log.gz archivedFileCount: 5 timeZone: UTC logFormat: # TODO - type: syslog host: 192.168.10.4 port: 514 facility: local0 threshold: ALL logFormat: # TODO