Uploaded image for project: 'Chukwa (retired)'
  1. Chukwa (retired)
  2. CHUKWA-13

Support SQL macros in Chukwa Charting

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Redhat EL 5.1, Java 6

    Description

      In Chukwa Database aggregator, we could execute SQL statement which looks like:

      insert into [cluster_system_metrics] (select [avg(system_metrics)] from [system_metrics] where timestamp between [past_10_minutes] and [now]);

      This new feature is to bring macro language to HICC charting. The user can write statement like:

      select timestamp,host,load_5 from [system_metrics] where timestamp between [start] and [end];

      This statement will automatically expand to:

      select timestamp, host, load_5 from system_metrics_2045_week where timestamp between '2009-03-02 00:00:00' and '2009-03-03 00:00:00';

      Attachments

        1. CHUKWA-13.patch
          23 kB
          Eric Yang

        Activity

          People

            eyang Eric Yang
            eyang Eric Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: