Skip to main content

Config

PMetrium Native Host project contains an appsettings.json file that allows you to modify multiple parameters needed for performance test execution.

{
"LogLevel": "Information",
"HostPort": 7777,
"InfluxDB": {
"Url": "http://localhost:8086",
"DataBaseName": "PMetriumNative",
"User": "admin",
"Password": "admin"
}
}

LogLevel

Allows you to set the needed log level.
We have the following log levels available: Warning, Debug, Error, Fatal, Verbose, and Information.

important

The default log level is set to Information.

InfluxDB

  • Url
    Provide URL with port to your InfluxDB URL.

  • DataBaseName
    Provide a database name that will be used to store collected metrics.

  • User and Password
    Credentials that will allow to read\write metrics from\to InfluxDB.

important

If you will decide to change the database name, please, ensure that it will match with your Grafana dashboard datasource.

HostPort

HTTP port of PMetrium Native to work on.