Git Product home page Git Product logo

kamon-influxdb's Introduction

This reporsitory has been moved.

Since March 2020 all the Kamon instrumentation and reporting modules were moved to Kamon's main repository at https://github.com/kamon-io/kamon. Please check out the main repository for the latest sources, reporting issues or start contributing. You can also stop by our Gitter Channel.

kamon-influxdb's People

Contributors

dpsoft avatar dsolonenko avatar falmarri avatar ivantopo avatar mrbagheera avatar ornicar avatar rb3ckers avatar vsuharnikov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kamon-influxdb's Issues

Unable to use influxdb with SSL

I had working solution with local deployment of influxdb and setting done via application.conf. However now I have deployed influxdb in secured container which uses https for communication, I get an error for https not supported by kamon:

[ERROR] [10/02/2017 09:31:04.235] [kamon-akka.actor.default-dispatcher-2] [akka://kamon/user/influxdb-metrics-sender] Protocol https is not supported by Kamon InfluxDB Client
akka.actor.ActorInitializationException: akka://kamon/user/influxdb-metrics-sender: exception during creation

followed by

Caused by: java.lang.UnsupportedOperationException: Protocol https is not supported by Kamon InfluxDB Client

Here is my configuration:

kamon {

  metric {
      tick-interval = 10 second
  }

  influxdb {
    hostname = "influxdb.foo.com"
    max-packet-size = 1024
    database = "mydb"
    protocol = "https"

    application-name = "foo-service"
    hostname-override = foo

    percentiles = [50.0, 70.5]
  }

  modules {
    kamon-log-reporter.auto-start = yes
    kamon-influxdb.auto-start = yes
  }

  trace {
      level-of-detail = simple-trace
    }

}

kamon-influxdb

I am trying to include kamon with my spring-boot project using kamon-annotations package. But I am not sure about backend setup for metrics reported via kamon. The tests in module only cover scala, can I please get help with setup for java based application?

NoSuchMethodError io.netty.util.internal.PlatformDependent.newAtomicIntegerFieldUpdater

Hi,
I'm trying kamon-akka with kamon-influxdb (both 0.6.7) with akka 2.4.16 and I'm getting this error at startup.

What could I be missing?

Uncaught error from thread [kamon-akka.actor.default-dispatcher-4] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[kamon]
java.lang.NoSuchMethodError: io.netty.util.internal.PlatformDependent.newAtomicIntegerFieldUpdater(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater;
	at org.asynchttpclient.netty.NettyResponseFuture.<clinit>(NettyResponseFuture.java:52)
	at org.asynchttpclient.netty.request.NettyRequestSender.newNettyResponseFuture(NettyRequestSender.java:311)
	at org.asynchttpclient.netty.request.NettyRequestSender.newNettyRequestAndResponseFuture(NettyRequestSender.java:193)
	at org.asynchttpclient.netty.request.NettyRequestSender.sendRequestWithCertainForceConnect(NettyRequestSender.java:129)
	at org.asynchttpclient.netty.request.NettyRequestSender.sendRequest(NettyRequestSender.java:107)
	at org.asynchttpclient.DefaultAsyncHttpClient.execute(DefaultAsyncHttpClient.java:216)
	at org.asynchttpclient.DefaultAsyncHttpClient.executeRequest(DefaultAsyncHttpClient.java:184)
	at org.asynchttpclient.BoundRequestBuilder.execute(BoundRequestBuilder.java:35)
	at kamon.influxdb.AsyncHttpClient.post(InfluxDBClient.scala:38)

Update README with current version

The README and online documentation provide code snippets for including the 1.0.1 version of the dependency, whereas the latest version is 1.0.2.

It took me hours of debugging crashes because only HTTPS is supported, and alghough I was specifying protocol = "https", this setting was ignored without me knowing.

Support for Kamon 1.x

It would be nice to upgrade to Kamon 1.x, but I am using this reporter which still required Kamon 6.7.x.

Replace Spray with Akka HTTP

As part of getting a 2.12 release in place, I think it'd be best to swap out Spray in favor of Akka HTTP since Spray is at end-of-life and Kamon primarily uses Akka as its only backbone across the modules.

I have a WIP branch but would like to hear input from the community on this change.

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.