Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 4f0cd26e authored by Michael Ott's avatar Michael Ott
Browse files

Print configuration for InfluxDB

parent 5af0eb23
......@@ -806,6 +806,27 @@ int main(int argc, char* const argv[]) {
LOG(info) << " REST Server: " << restAPISettings.host << ":" << restAPISettings.port;
LOG(info) << " Certificate: " << restAPISettings.certificate;
LOG(info) << " Private key file: " << restAPISettings.privateKey;
if (config.influxMap.size() > 0) {
LOG(info) << "InfluxDB Settings:";
for (auto &m: config.influxMap) {
LOG(info) << " Measurement: " << m.first;
LOG(info) << " Tag: " << m.second.tag;
if ((m.second.tagRegex.size() > 0) && (m.second.tagSubstitution.size() > 0))
if (m.second.tagSubstitution != "&") {
LOG(info) << " TagFilter: s/" << m.second.tagRegex.str() << "/" << m.second.tagSubstitution << "/";
} else {
LOG(info) << " TagFilter: " << m.second.tagRegex.str();
}
if (m.second.fields.size() > 0) {
stringstream ss;
copy(m.second.fields.begin(), m.second.fields.end(), ostream_iterator<std::string>(ss, ","));
string fields = ss.str();
fields.pop_back();
LOG(info) << " Fields: " << fields;
}
}
}
}
LOG_VAR(vLogLevel) << "----- Analytics Configuration -----";
for(auto& p : analyticsController->getManager()->getPlugins()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment