mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 07:23:00 +02:00
Adjust lines for length.
This commit is contained in:
parent
1c545dffca
commit
e8d9fe852e
1 changed files with 14 additions and 2 deletions
|
@ -3067,7 +3067,13 @@ void DomainServer::initializeExporter() {
|
||||||
|
|
||||||
if (isExporterEnabled && !_httpExporterManager) {
|
if (isExporterEnabled && !_httpExporterManager) {
|
||||||
qCInfo(domain_server) << "Starting Prometheus exporter on port " << exporterPort;
|
qCInfo(domain_server) << "Starting Prometheus exporter on port " << exporterPort;
|
||||||
_httpExporterManager = new HTTPManager(QHostAddress::Any, (quint16)exporterPort, QString("%1/resources/prometheus_exporter/").arg(QCoreApplication::applicationDirPath()), &_exporter);
|
_httpExporterManager = new HTTPManager
|
||||||
|
(
|
||||||
|
QHostAddress::Any,
|
||||||
|
(quint16)exporterPort,
|
||||||
|
QString("%1/resources/prometheus_exporter/").arg(QCoreApplication::applicationDirPath()),
|
||||||
|
&_exporter
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3087,7 +3093,13 @@ void DomainServer::initializeMetadataExporter() {
|
||||||
|
|
||||||
if (isMetadataExporterEnabled && !_httpMetadataExporterManager) {
|
if (isMetadataExporterEnabled && !_httpMetadataExporterManager) {
|
||||||
qCInfo(domain_server) << "Starting Metadata exporter on port" << metadataExporterPort;
|
qCInfo(domain_server) << "Starting Metadata exporter on port" << metadataExporterPort;
|
||||||
_httpMetadataExporterManager = new HTTPManager(QHostAddress::Any, (quint16)metadataExporterPort, QString("%1/resources/metadata_exporter/").arg(QCoreApplication::applicationDirPath()), _metadata);
|
_httpMetadataExporterManager = new HTTPManager
|
||||||
|
(
|
||||||
|
QHostAddress::Any,
|
||||||
|
(quint16)metadataExporterPort,
|
||||||
|
QString("%1/resources/metadata_exporter/").arg(QCoreApplication::applicationDirPath()),
|
||||||
|
_metadata
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue