Documentation Home
MySQL Enterprise Monitor 3.2 Manual
Related Documentation Download this Manual
PDF (US Ltr) - 3.7Mb
PDF (A4) - 3.7Mb
EPUB - 2.7Mb
HTML Download (TGZ) - 2.6Mb
HTML Download (Zip) - 2.7Mb

26.1.2 Overview of Graph Creation

Graphs are defined using XML, and then imported into MEM. The new custom graph is displayed with the default graphs, sorted by name on the graphs page.

For an example of how to create a graph, see Section 26.1.9, “Creating a New Graph: An Example”.

The XML elements for creating a graph are as follows:

  • version

    The version number of the graph. Generally only important with the bundled graphs, and is only used internally.

  • uuid

    The unique id of the graph. Each revision (version) requires a new uuid, which is only used internally.

  • name

    The visible graph name, which is displayed within the graph listing. Note: graphs are sorted alphabetically.

  • frequency

    Optionally define the frequency for the graph, which defaults to 1 minute. May use seconds, minutes, hours, and days.

  • rangeLabel

    The Y-axis range label. For example, a graph about disk space usage may use MB.

  • series

    Each series contains a label and an expression. The label is the visible name of the series, and the simple expression defines it.

  • variables

    Each variables definition contains a name, instance, and dcItem element. The instance defines what data the graph displays, and each dcItem element contains a nameSpace, className, and attribName:

    • nameSpace

      Namespace (type) of the data collection item.

    • className

      Class (namespace type) of the data collection item.

    • attribName

      Attribute name of the data collection item.

User Comments
Sign Up Login You must be logged in to post a comment.