{
  "name": "adaptive-server-agent",
  "version": "0.0.0",
  "description": "Monitor Server Performance.",
  "config": {
    "INFLUX_HOST": {
      "description": "The hostname (or IPAddress) of the InfluxDB server used to store performance metrics.",
      "type": "string"
    },
    "INFLUX_PORT": {
      "description": "The port of the InfluxDB server used to store performance metrics.",
      "type": "integer"
    },
    "INFLUX_DBNAME": {
      "description": "The name of the database used to store performance metrics.",
      "type": "string"
    },
    "MONGO_HOST": {
      "description": "The hostname of the MongoDB database used to store User, Server, and Metrics data.",
      "type": "string"
    },
    "MONGO_PORT": {
      "description": "The port of the MongoDB database used to store User, Server, and Metrics data.",
      "type": "integer"
    }
  },
  "services": {
    "api": {
      "provider": "interfaces/rest-api",
      "basePath": "/api",
      "versioned": false,
      "port": 8081,
      "container": {
        "ports": [8081],
        "loadBalance": true
      },
      "endpoints": [
        {
          "method": "GET",
          "path": "stats",
          "handler": "./getStats.js"
        }
      ]
    }
  }
}

