Comments (3)
I've got this working, it was a two part problem:
- First, was a newb error, after reading http://golang.org/doc/code.html I learned how to setup my workspace correctly using that docker image. Any interest in a Dockerfile that would handle all this automatically?
- Second, I think the Gomfile is missing the influx dependency. I applied the diff below and its now compiling.:
diff --git a/Gomfile b/Gomfile
index d433501..6439c5e 100644
--- a/Gomfile
+++ b/Gomfile
@@ -1,3 +1,4 @@
gom 'github.com/armon/consul-api', :commit => '045662de1042be0662fe4a1e21b57c8f7669261a'
gom 'github.com/docopt/docopt-go', :commit => 'c5dac536301992c0371c6115d998fb62944bfad3'
gom 'github.com/Sirupsen/logrus', :commit => '6ebb4e7b3c24b9fef150d7693e728cb1ebadf1f5'
+gom 'github.com/influxdb/influxdb/client', :commit => '9485e99796c53635fbf179b3e973c363937de00b'
from consul-alerts.
@dpetzel thank. Yep, definitely missed the influxdb dependency on the Gomfile.. silly me. I'll add it now. And yes, we're planning on adding a Dockerfile soon. :)
from consul-alerts.
Done. Fixed the dependencies on the Gomfile.
from consul-alerts.
Related Issues (20)
- Support parametric notification profiles HOT 2
- Disable notifications with consul tags HOT 1
- email notifier: distinct email receivers based on consul service HOT 1
- Checks status "from [empty] to passing/critical"
- docker image does not send http-notification HOT 3
- 200 is not the only code that indicates success
- Config not updating
- Change the default URL where reads the config in consul "/consul-alerts/xxx" for another URL, for example "/consul-alerts-2/xxx"? HOT 1
- INFO[0003] Running for leader election... Error querying Consul agent: Unexpected response code: 403 (Permission denied) INFO[0003] Shutting down watcher --> Exit Code: 1 HOT 1
- Support JWT auth for HTTP notifier HOT 2
- Update docker image.
- (Stale) Reminder doesnt get deleted
- consul-alerts stops working after some time
- Can't connect to https consul endpoint
- Cant download consulalerts 0.6.0 HOT 1
- version display error
- Opsgenie notifier should allow to configure different target address
- http-endpoint-notifier : Possibility to add HTTP headers ?
- 'Running for leader election' repeating
- Incorrect policy given in README HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from consul-alerts.