github.com/cs3org/reva/v2@v2.27.7/examples/mentix/mentix.toml (about)

     1  [http]
     2  address = "0.0.0.0:9600"
     3  
     4  [http.services.mentix]
     5  update_interval = "15m"
     6  
     7  [http.services.mentix.connectors.gocdb]
     8  address = "http://sciencemesh-test.uni-muenster.de"
     9  apikey = "abc123"
    10  
    11  # Configure the service types that are considered as critical/essential
    12  [http.services.mentix.services]
    13  critical_types = ["REVAD"]
    14  
    15  # Enable the WebAPI exporter
    16  [http.services.mentix.exporters.webapi]
    17  endpoint = "/"
    18  
    19  # Enable the CS3API and Site Locations exporters
    20  [http.services.mentix.exporters.cs3api]
    21  [http.services.mentix.exporters.siteloc]
    22  # If this setting is omitted, all connectors will be used as data sources
    23  enabled_connectors = ["gocdb"]
    24  # Enable the Metrics exporter
    25  [http.services.mentix.exporters.metrics]
    26  
    27  # Set up the accounts service used to query information about accounts associated with registered sites
    28  [http.services.mentix.accounts]
    29  # Depending on where the service is running, localhost may also be used here
    30  url = "https://sciencemesh.example.com/iop/accounts"
    31  user = "username"
    32  password = "userpass"
    33  
    34  # Configure the Prometheus Service Discovery:
    35  [http.services.mentix.exporters.promsd]
    36  # The following path must be made available to Prometheus.
    37  # The contained target files can then be used as the file_sd sources of a job.
    38  output_path = "/usr/share/prom"