go-demo-3's People
Forkers
patrickleet russmilburn neerajkothari aglwkrs tigran10 gmlp vimalkrishna sirspen tommy1199 carlossg joostvdg jhagege within-cells-interlinked terribleplan nassercarlos19 jpeerzx shillpi matthewabq themanoftheland8 vj1900 jls5177 valarier sriharsha-reddy zucknick randomsync agthunder simono211 dskindell itsshivaverma chaoliu2002 d-blindside cendrier paderka awnedion andreasschoenfelduser khafatech jhammell pravasna jeffzhu503 gator-mk ppamidi1 cyberladyknight erailine subicura kfalatehan wicope mshul hoaitang sikor111 qvicksilver lpmulligan destebang bmutziu montmassonfr nicknarcise cjaime9 rongch trifygri philil02 chaunceyt dgdosen tb2186 adaparavibabu craigmartin ashwaniks ahayanm001 anthonywc sivagunda4 hirotake j0shua ashokshingade24 rubiooo plusx2012 chengdol lshendrix gyedi shannoncarver pchawanasunthornpot pseonghoon brhawk mrdummydoofy prageethw ning666 jmmirand jomafe tgilkerson danielinclouds agileqatester kevroy4o danielhanold miams-reisys mephex avinashreddy alinaeftn datentyp dejan2609 jorgeluizchaves jm4c bapiraju marshhawkgo-demo-3's Issues
Fails functional tests
This current build fails when we run the functional tests. I got the following commands from the following gist you wrote: https://gist.github.com/vfarcic/4edc53d5dd11814651485c9ff3672fb7
sh "go get -d -v -t"
sh """go test ./... -v
--run FunctionalTest"""
Error was:
+ go test ./... -v --run FunctionalTest
# _/home/jenkins/workspace/Build_Test_Release
./main.go:144:9: undefined: prometheus.Handler
FAIL _/home/jenkins/workspace/Build_Test_Release [build failed]
I solved this issue by referencing this documentation:
https://godoc.org/github.com/prometheus/client_golang/prometheus
To solve I added "github.com/prometheus/client_golang/prometheus/promhttp" to the import section in main.go
I then changed the var prometheusHandler function to be:
var prometheusHandler = func() http.Handler { return promhttp.Handler() }
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.