Coder Social home page Coder Social logo

go's People

Contributors

aalness avatar ianlopshire avatar mmaxim avatar patrickxb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

go's Issues

Enhancement: Add NoOp Reporter

An implementation of Reporter that just discards stats would be useful in a number of situations. I'd be happy to submit a PR if it would be accepted.

x509: certificate is valid for Common Name (eg, YOUR name), not api.stathat.com

Followed example exactly - go pgm cannot post ?

2016/04/09 07:49:04 error posting stat to stathat: Post https://api.stathat.com/ez: x509: certificate is valid for Common Name (eg, YOUR name), not api.stathat.com
2016/04/09 07:49:04 error posting stat to stathat: Post https://api.stathat.com/ez: x509: certificate is valid for Common Name (eg, YOUR name), not api.stathat.com

getting errors

Hi i was testing out stathat with my go server... when i run a load tester i get the following error

error posting stat to stathat: Post http://api.stathat.com/ez: dial tcp 23.23.135.247:80: ConnectEx tcp: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Is there a certain threshold that the stathat can receive? or is it just a problem of the library?

StatHat Api does not return any errors

It's not possible to monitor if there are any issues with StatHat metrics, errors are not returned from Http send
E.g.:

func (r *BasicReporter) PostEZCount(statName, ezkey string, count int) error {
	r.add(newEZStatCount(statName, ezkey, count))
	return nil
}

Need some way to get a handle \ metric on HTTP send errors

Posting batches of stats

I noticed your API supports posting multiple stats in one HTTP call. Are there plans to update this library to batch up stat calls into one HTTP call as well?

Just curious...if not I can hit the API directly to accomplish this.

Thanks in advance!

batching?

I'm just seeing a ton of individual requests, is there any batching? or would you accept a PR?

cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.