Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InfluxDB adapter #73

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
cadbaa3
Added influxdb adapter
benFlightStats Aug 28, 2014
d26f989
clean up
benFlightStats Aug 28, 2014
21b901a
Fixed a couple of bugs.
benFlightStats Sep 2, 2014
d727334
Added length and xscale. still need to fix axis.
benFlightStats Sep 20, 2014
7ef2b5f
add horiz scaling
benFlightStats Sep 24, 2014
39143ff
remove files
benFlightStats Sep 24, 2014
20a2da8
clean untracked files
benFlightStats Sep 24, 2014
dad3395
Delete workspace.xml
benFlightStats Sep 24, 2014
85f6586
Delete vcs.xml
benFlightStats Sep 24, 2014
b0ff48f
Delete modules.xml
benFlightStats Sep 24, 2014
68031d6
Delete misc.xml
benFlightStats Sep 24, 2014
9b63967
Delete encodings.xml
benFlightStats Sep 24, 2014
f6f4013
Delete compiler.xml
benFlightStats Sep 24, 2014
548e354
Delete .name
benFlightStats Sep 24, 2014
9e38548
Delete scope_settings.xml
benFlightStats Sep 24, 2014
31e86ca
Delete profiles_settings.xml
benFlightStats Sep 24, 2014
6e05270
clean up names
benFlightStats Sep 24, 2014
dfc9642
Merge branch 'feature/scale_width' of https://github.com/benFlightSta…
benFlightStats Sep 24, 2014
1cc3235
Delete workspace.xml
benFlightStats Sep 24, 2014
af754e0
Merge pull request #1 from benFlightStats/feature/scale_width
benFlightStats Sep 24, 2014
1a7b51e
Added length and xscale. still need to fix axis.
benFlightStats Sep 28, 2014
c3f5f61
Merge pull request #2 from benFlightStats/bug/axis_rule_metric_not_tr…
benFlightStats Sep 29, 2014
941269d
add bower
benFlightStats Sep 29, 2014
5ba0d74
Merge branch 'master' of https://github.com/benFlightStats/cubism
benFlightStats Sep 29, 2014
a1bbcf5
Delete workspace.xml
benFlightStats Sep 29, 2014
f5a99b2
Make influx 1.0 compatible
JHK Jun 23, 2017
87e4ecc
Provide cubism.v1.js and cleanups
JHK Jun 23, 2017
b6ea9d4
Merge pull request #3 from JHK/master
benFlightStats Jun 27, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 58 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,60 @@
.DS_Store
node_modules
demo

### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm

/*.iml

## Directory-based project format:
.idea/

## File-based project format:
*.ipr
*.iws

## Plugin-specific files:

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml


### Node ###
# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# Commenting this out is preferred by some people, see
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
node_modules

# Users Environment Variables
.lock-wscript

14 changes: 3 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ JS_COMPILER = ./node_modules/uglify-js/bin/uglifyjs

.PHONY: test

all: cubism.v1.min.js package.json
all: cubism.v1.js

cubism.v1.js: \
src/cubism.js \
Expand All @@ -14,6 +14,7 @@ cubism.v1.js: \
src/cube.js \
src/librato.js \
src/graphite.js \
src/influxdb.js \
src/gangliaWeb.js \
src/metric.js \
src/metric-constant.js \
Expand All @@ -24,24 +25,15 @@ cubism.v1.js: \
src/rule.js \
Makefile

%.min.js: %.js Makefile
@rm -f $@
$(JS_COMPILER) < $< > $@

%.js:
@rm -f $@
@echo '(function(exports){' > $@
cat $(filter %.js,$^) >> $@
@echo '})(this);' >> $@
@chmod a-w $@

package.json: cubism.v1.js src/package.js
@rm -f $@
node src/package.js > $@
@chmod a-w $@

clean:
rm -f cubism.v1.js cubism.v1.min.js package.json
rm -f cubism.v1.js

test: all
@$(JS_TESTER)
24 changes: 24 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "cubism",
"main": "cubism.v1.js",
"version": "1.6.1",
"homepage": "https://github.com/benFlightStats/cubism",
"authors": [
"Benjamin Corliss <bcorliss@flightstats.com>"
],
"description": "Dynamic timeline charts",
"keywords": [
"d3",
"timeline",
"graphing"
],
"license": "MIT",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
10 changes: 10 additions & 0 deletions cubism.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

Loading