Skip to content

Uptime graph / aggregator key #26

Description

@eperdeme

Hello,

I am having problems making a basic uptime graph using Pencil rewrite;

The config is as follows;
scale(X_mail_zen_net_uk.uptime.uptime,0.000011574)

-- mode: ruby --

title 'Uptime'
description 'Uptime'

field :uptime,
:alias => "Uptime",

:data => "scale(uptime.uptime, 0.000011574)"

This results in the following being called
scale(averageSeries(X_mail_zen_net_uk.uptime.uptime,0.000011574))

This appears to be from the none optional aggregator key.

Can you think of anyway to either make aggregator optional or alternatives if I am doing it wrong?

x.x.x.x- - [07/May/2013:11:07:55 +0000] "GET /render/?title=Uptime+%2F+x_mail_zen_net_uk&from=-1h&width=1517&height=400&until=now&areaMode=none&yMin=0&fontSize=15&tz=Europe%2FLondon&target=alias%28scale%28averageSeries%28x_mail_zen_net_uk.uptime.uptime%29%2C+averageSeries%28x_mail_zen_net_uk.0.000011574%29%29%2C%22x_mail_zen_net_uk+Uptime%22%29 HTTP/1.1" 500 967 "http://localhost:8080/host/global/x_mail_zen_net_uk" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20100101 Firefox/20.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions