Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Barthelemy committed Jun 26, 2024
1 parent 1a6b31d commit 603a00c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Framework/include/QualityControl/Check.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ class Check
static CheckConfig extractConfig(const core::CommonSpec&, const CheckSpec&);
static framework::OutputSpec createOutputSpec(const std::string& detector, const std::string& checkName);

void setDatabase(std::shared_ptr<o2::quality_control::repository::DatabaseInterface> database) {
void setDatabase(std::shared_ptr<o2::quality_control::repository::DatabaseInterface> database)
{
mCheckInterface->setDatabase(database);
}

Expand Down
3 changes: 2 additions & 1 deletion Framework/include/QualityControl/CheckInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ class CheckInterface : public core::UserCodeInterface
virtual void startOfActivity(const core::Activity& activity); // not fully abstract because we don't want to change all the existing subclasses
virtual void endOfActivity(const core::Activity& activity); // not fully abstract because we don't want to change all the existing subclasses

void setDatabase(std::shared_ptr<o2::quality_control::repository::DatabaseInterface> database) {
void setDatabase(std::shared_ptr<o2::quality_control::repository::DatabaseInterface> database)
{
mDatabase = database;
}

Expand Down
1 change: 0 additions & 1 deletion Modules/Common/src/ReferenceComparatorCheck.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ static Quality compare(TCanvas* canvas, ObjectComparatorInterface* comparator, s
return comparator->compare(plots.first, plots.second, message);
}


Quality ReferenceComparatorCheck::getSinglePlotQuality(std::shared_ptr<MonitorObject> mo, std::string& message)
{
// retrieve the reference plot and compare
Expand Down
4 changes: 4 additions & 0 deletions doc/DevelopersTips.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ firewall-cmd --reload
10. Set the monitoring url to `"url": "stdout://?qc,influxdb-udp://flptest1.cern.ch:8089"`
11. Once the dashboard is ready, tell Adam.

ALTERNATIVELY

use http://alio2-bld4-mx-dev01-gpn:3000/?orgId=1 (admin and pwd like above)

### Monitoring setup for building the grafana dashboard with prod data

1. Go to http://pcald24.cern.ch:3000/?orgId=1
Expand Down

0 comments on commit 603a00c

Please sign in to comment.