Bug 1425522 - beakerd metrics queries should go to reports_engine if configured
Summary: beakerd metrics queries should go to reports_engine if configured
Alias: None
Product: Beaker
Classification: Community
Component: general
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified vote
Target Milestone: 24.1
Assignee: Dan Callaghan
QA Contact: Dan Callaghan
Keywords: FutureFeature, Patch
Depends On:
TreeView+ depends on / blocked
Reported: 2017-02-21 16:15 UTC by Dan Callaghan
Modified: 2017-02-28 16:50 UTC (History)
3 users (show)

Clone Of:
Last Closed: 2017-02-28 16:50:42 UTC

Attachments (Terms of Use)

Description Dan Callaghan 2017-02-21 16:15:32 UTC
A while back we introduced a config option for an alternative database connection which is used for reporting queries: reports_engine.dburi and related directives in /etc/beaker/server.cfg.

The metrics queries which beakerd periodically runs are a good candidate to be sent to the reporting database, since they are quite expensive but can tolerate using slightly out of date data.

That will let us alleviate some load on the main DB in our production environment, by sending the metrics queries to the MySQL replica which we now have.

Comment 1 Dan Callaghan 2017-02-21 17:05:00 UTC

Comment 5 Dan Callaghan 2017-02-28 16:50:42 UTC
Beaker 24.1 has been released.

Note You need to log in before you can comment on or make changes to this bug.