Coder Social home page Coder Social logo

Comments (5)

CzyerChen avatar CzyerChen commented on September 19, 2024

Can I apply a Slack account in OpenTelemetry? I have already have the account and join ASF, but not permitted in OpenTelemetry part.

from opentelemetry-java-contrib.

CzyerChen avatar CzyerChen commented on September 19, 2024

I config the otel-collector-config.yaml followed by https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/0bd3c27f442a011ab853986d87f2b8fec040a4a4/receiver/jmxreceiver/README.md#Configuration

receivers:
  jmx:
    jar_path: /usr/local/opentelemetry-jmx-metrics.jar
    endpoint: 192.168.x.x:1616
    target_system: jvm
    collection_interval: 10s
    username: admin
    password: xxx
    resource_attributes:
      host_name: jmx-activemq

Start up failed with error

Error: cannot start pipelines: failed to parse Endpoint "192.168.x.x:1616": parse "192.168.2.60:1616": first path segment in URL cannot contain colon
2024/03/05 03:16:33 collector server run finished with error: cannot start pipelines: failed to parse Endpoint "192.168.x.x:1616": parse "192.168.x.x:1616": first path segment in URL cannot contain colon

Fixed by add // at the front of host:port, that works.

receivers:
  jmx:
    jar_path: /usr/local/opentelemetry-jmx-metrics.jar
    endpoint: //192.168.x.x:1616
    target_system: jvm
    collection_interval: 10s
    username: admin
    password: activemq
    resource_attributes:
      host_name: jmx-activemq

Is that a code bug or a doc enhancement?

from opentelemetry-java-contrib.

laurit avatar laurit commented on September 19, 2024

You should really be asking these questions from the collector folks in https://github.com/open-telemetry/opentelemetry-collector-contrib/. As far as I know they reject the metrics jar when the has doesn't match what they expect.

Can I apply a Slack account in OpenTelemetry? I have already have the account and join ASF, but not permitted in OpenTelemetry part.

OpenTelemetry channels are in CNCF slack, anybody can join.

from opentelemetry-java-contrib.

CzyerChen avatar CzyerChen commented on September 19, 2024

You should really be asking these questions from the collector folks in https://github.com/open-telemetry/opentelemetry-collector-contrib/. As far as I know they reject the metrics jar when the has doesn't match what they expect.

Can I apply a Slack account in OpenTelemetry? I have already have the account and join ASF, but not permitted in OpenTelemetry part.

OpenTelemetry channels are in CNCF slack, anybody can join.

Thanks.

from opentelemetry-java-contrib.

CzyerChen avatar CzyerChen commented on September 19, 2024

I made a mistake to check the support jars https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/jmxreceiver/supported_jars.go.
I just check the main -> v0.96.0, not match my test with 0.95.0.
So 1.32.0 matched 0.95.0, that works.

from opentelemetry-java-contrib.

Related Issues (20)

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.