Commit Graph

348 Commits

Author SHA1 Message Date
Daniele Sluijters
f85f0fa864 requirements: Upgrade to pypuppetdb 0.0.4 2013-10-14 12:53:25 +02:00
Daniele Sluijters
095967e445 Merge pull request #20 from nibalizer/graph_fix
_macros.html: Sorting and bucketing facts graphs.
2013-10-13 12:32:48 -07:00
Spencer Krum
8a56e83b69 puppetboard/templates/_macros.html
This adds sorting and bucketing to the two graphs in the facts
view.
2013-10-13 12:25:56 -07:00
Daniele Sluijters
934f90c12a _macros.html: Graphs a bit smaller, FlatUI colors.
Currently the graphs are shown at the top of the page and because of
that really take up a lot of screen real estate. This commit makes the
graphs a bit smaller but we really need to rethink the layout here.

Additionally we switch the colors to the FlatUI swatches to match the
rest of the theme better.
2013-10-13 15:31:33 +02:00
Spencer Krum
0422b2ccd0 _macros.html: mod ensure different adjecent colors 2013-10-13 15:01:04 +02:00
Spencer Krum
e1603608bc _macros.html: Add a second Pie chart to facts/<fact>
The second chart is in order of the value of the fact. So in the
uptime fact we see 1 day before 2 days before 50 days.
2013-10-13 15:00:03 +02:00
Spencer Krum
23af033cbb facts: Add graph for facts endpoint. 2013-10-13 14:59:22 +02:00
Spencer Krum
e71f30ab50 Add flag to enable or disable the query page
Puppetboard is an excelent radiator of information, but sometimes
we want to expose information to users we don't trust giving full
access to the PuppetDB query language.

I would reccomend that Puppetboard be run twice. One, with query
enabled, run on a port behind apache login. Another, with query
disabled, run unproxied for the unwashed masses.

Closes #10.
2013-10-13 14:32:24 +02:00
Daniele Sluijters
cc87e54cea Support PuppetDB API v3.
Recently changes were made to pypuppetdb to support, at a basic level,
the v3 API introduced with PuppetDB 1.5.

This commit changes some internals of Puppetboard to handle the new
situation:
 * The experimental endpoints are gone, so is the ExperimentalDisabled
   Error;
 * v2 API can no longer access Reports/Events so we now check that we're
   talking at least v3 API;
 * Introduce a configuration setting PUPPETDB_API which takes an integer
   repersenting the API version we want to talk.
2013-10-11 11:20:34 +02:00
Daniele Sluijters
3b4db8f37e Merge pull request #19 from daniellawrence/fact_table_template_title_and_links
Add links for facts and nodes in fact table macro
2013-10-11 00:55:31 -07:00
Daniel Lawrence
3fd8a0aad4 Add links for facts and nodes in fact table macro
Added links to the node page from the facts_table if show_nodes is True.
Added links to the facts page from the facts_table if show_nodes is
False.
Added logic to switch TH table from facts to nodes if show_nodes is True.
2013-10-11 14:46:39 +11:00
Daniele Sluijters
9b662a661e README: Fix the issue link 2013-10-08 14:30:24 +02:00
Daniele Sluijters
cfb1383025 README: Add a Getting Help section
[noci]
2013-10-08 14:29:41 +02:00
Daniele Sluijters
8db60d14bd nodes: Only show report button if we have a report
Based on if the report_timestamp is truthy we'll show the reports
button, instead of always having it show up.
2013-08-22 13:17:48 -07:00
Daniele Sluijters
8cf181a9e8 Add screenshots of the new metrics tab. 2013-08-22 07:37:18 -07:00
Daniele Sluijters
543f706fd7 Merge pull request #7 from nicklewis/add-metric-name
Add the name of the metric to the metric page
2013-08-21 17:08:45 -07:00
Nick Lewis
644e169a7f Add the name of the metric to the metric page 2013-08-21 17:07:24 -07:00
Daniele Sluijters
b25d85bd32 dev: Import DEV_LISTEN_HOST 2013-08-21 16:57:12 -07:00
Daniele Sluijters
9918ec8f4b Merge pull request #6 from nicklewis/sort-metrics
Sort list of metrics and metrics data
2013-08-21 16:55:38 -07:00
Daniele Sluijters
da68bb259b Merge pull request #4 from nibalizer/dev_expose_config
dev.py: exposing some parameters
2013-08-21 16:53:01 -07:00
Nick Lewis
3c05071aef Sort list of metrics and metrics data
This makes the metrics a lot easier to scan, because it groups similar
metrics (like all the HTTP metrics) as well as the percentiles, etc.
2013-08-21 16:52:52 -07:00
Spencer Krum
cb64b73832 dev.py: exposing some parameters 2013-08-21 16:37:25 -07:00
Daniele Sluijters
c3821e777f Add a Metrics tab.
This gives you access to all metrics.
2013-08-21 16:21:02 -07:00
Daniele Sluijters
c04d45f602 README: add a TOC 2013-08-21 14:59:09 -07:00
Daniele Sluijters
d900ccf09a overview: Fix string formatting for py26. 2013-08-15 00:55:58 +02:00
Daniele Sluijters
8b3f3ea61e Merge pull request #3 from nibalizer/readme_forge
README.rst: adding forge command to readme
2013-08-14 15:53:42 -07:00
Spencer Krum
f273d24f80 README.rst: adding forge command to readme 2013-08-14 11:04:53 -07:00
Daniele Sluijters
d152d8e3a1 README: Got Spencer's first and last name mixed up 2013-08-12 20:12:56 +02:00
Daniele Sluijters
c64a2b79b2 README: Forgot the newlines for bullets. 2013-08-12 19:26:23 +02:00
Daniele Sluijters
083da989de README: Add a third party section. 2013-08-12 19:25:13 +02:00
Daniele Sluijters
c3a9b5e81c Merge pull request #2 from nibalizer/typo_fix
templates/query.html Fix typo in placeholder text
2013-08-12 01:32:07 -07:00
Spencer Krum
00d0f96914 templates/query.html Fix typo in placeholder text
The placeholder text on the query form wasn't correct syntax.
2013-08-11 17:10:47 -07:00
Daniele Sluijters
7b71eb39d2 requirements. Update to pypuppetdb 0.0.2.
There was a stupid packaging error in pypuppetdb 0.0.1 preventing
successful installation of it and its depedencies.
2013-08-09 16:54:45 +02:00
Daniele Sluijters
1a178ef2af requirements: Get rid of wsgiref.
http://stackoverflow.com/questions/6627035
2013-08-09 09:35:37 +02:00
Daniele Sluijters
4d80b6c128 template/query: Fix a typo in experimental.
Thanks @geekygirldawn!
2013-08-08 20:57:40 +02:00
Daniele Sluijters
462fcbf76c requirements: Add missing dependencies.
No idea what happend but requirements.txt should list all the
dependencies, not just the 'top' ones.
2013-08-08 18:17:48 +02:00
Daniele Sluijters
c8825d3d92 Merge pull request #1 from hunner/fix_reqs
Missing = sign
2013-08-08 09:06:59 -07:00
Hunter Haugen
1d705d04dd Missing = sign 2013-08-07 17:38:39 -07:00
Daniele Sluijters
88d1944b4b utils: Remove unused import. 2013-08-07 16:17:40 +02:00
Daniele Sluijters
bda3adc078 utils: Group the exceptions in yield_or_abort.
Additionally, the empty yield is rather unnecessary.
2013-08-07 16:15:34 +02:00
Daniele Sluijters
8b6fe3ed2a README: Add report screenshot. 0.0.1 2013-08-07 09:32:51 +02:00
Daniele Sluijters
a36316d436 README: Move the experimental disable screenshot. 2013-08-07 09:26:47 +02:00
Daniele Sluijters
e48e62c26e README: Reword the state of Puppetboard.
Additionally, rearrange some screenshots.
2013-08-07 09:25:22 +02:00
Daniele Sluijters
f41dd99f60 puppetboard: Commit the current code.
This is all the code after a week and a bit hacking on this project.
It's in a rather experimental state but should work with a little
effort.
2013-08-07 09:05:31 +02:00
Daniele Sluijters
26de6d2979 README: Switch images from Dropbox to Github. 2013-08-07 09:05:25 +02:00
Daniele Sluijters
2b77717af6 Add screenshots folder with screenies. 2013-08-07 09:05:19 +02:00
Daniele Sluijters
f383bbc789 README: Swap out md for rst, add content. 2013-08-07 09:04:56 +02:00
Daniele Sluijters
7bad575244 Initial commit 2013-07-29 11:22:09 -07:00