Skip to content

Commit

Permalink
javascript client library
Browse files Browse the repository at this point in the history
  • Loading branch information
postwait committed Jan 20, 2015
1 parent 38649fb commit 88108c0
Show file tree
Hide file tree
Showing 14 changed files with 1,269 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ src/**/Makefile
!src/modules/example/Makefile
src/dhparam*.txt
src/*.dSYM
src/js/node_modules/
src/lua/src/lua
src/modules/*.dSYM
src/noit_version.h
Expand Down
3 changes: 3 additions & 0 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,9 @@ distclean-subdirs:
distclean: clean distclean-subdirs
rm -f Makefile noit_config.h scripts/noit-config

js/bundle.desc: bundle.proto
protoc -ojs/bundle.desc bundle.proto

bundle:
protoc bundle.proto --java_out=java
protoc-c bundle.proto --c_out=.
28 changes: 28 additions & 0 deletions src/js/bundle.desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

�
bundle.proto"�
Metric
name ( 

metricType (
valueDbl (
valueI64 (
valueUI64 (
valueI32 (
valueUI32 (
valueStr ( "L
Status
available (
state (
duration (
status ( "&
Metadata
key ( 
value ( "y
Bundle
status ( 2.Status
metrics ( 2.Metric
metadata ( 2 .Metadata
period (
timeout (B%
com.omniti.reconnoiterB CheckStatus
Expand Down
Loading

0 comments on commit 88108c0

Please sign in to comment.