# Metrics Collector

This service is tasked with reading/writing from/to a database for a BI function.\
A secret is required to be able to access it.

## Database Connection and sizing

`configMap.springDatasource.url` variable holds the jdbc-formatted string to allow Metrics Collector to connect to its own database.\
The Instance needs a dedicated schema to be available (default `metricscollector`):

```yaml
global:
  namespace: <metrics-collector-namespace>

image:
  tag: 1.13.3

configMap:
  springDatasource: 
    url: jdbc:postgresql://<hostname>:5432/<dbName>

# -- Suggested sizing
resources:
  ## -- Limits
  limits:
    cpu: 1800m
    memory: 2048Mi
  ## -- Requests
  requests:
    cpu: 100m
    memory: 700Mi

```
