Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Weyert de Boer
    @weyert
    Or do the service in the pod just send it straight to the 'main' collector? Is there any advise about this?
    best practices
    the goal is to send traces to stackdriver and send metrics to prometheus
    Advise would be appreciated
    Jordan Sinko
    @JordanSinko
    Anyone get the awsxray exporter to actually work? I just configured the exporter like so:
    exporters:
        awsxray:
            region: us-east-1
    I am able to export using the logging exporter and datadog exporter fine. Is there any prereqs that need to be up outside of the collector?
    5 replies
    Jordan Sinko
    @JordanSinko
    Also seeing nothing related to xray in the logs besides the exporter starting/started logs
    Eric Mustin
    @ericmustin
    for a basic docker-compose setup, if i want to collect container logs from stdout/stderr, is there an out of the box solution here? my gut says stanzareceiver but a little lost trying to work thru the stanza docs
    13 replies
    doesn't need to be production ready necessarily just trying to do some POC stuffs
    Maor Goldberg
    @maorgoldberg
    Hey all,
    Is the spanmetrics processor currently usable? Or is it still no functional
    2 replies
    Juraci Paixão Kröhling
    @jpkrohling
    is a maintainer available to review/merge this one? it's been in the queue for a really long time now: open-telemetry/opentelemetry-collector#2322
    3 replies
    Eric Mustin
    @ericmustin
    I think the fluentbit extension in the collector is a nice little extra, makes some logging stuff much easier since i don't have to rely on a specific exporter being available. however the docs say it's experimental and potentially removed at any times...any thoughts or updates on the future of this extension? would love to see it kept in the collector until logging at least reaches beta https://github.com/open-telemetry/opentelemetry-collector/tree/main/extension/fluentbitextension
    2 replies
    Jude DSouza
    @dsouzajude

    Hi, i would like to parameterize the OTEL collector config using environment variables and i came across this link on the official docs: https://opentelemetry.io/docs/collector/configuration/#configuration-environment-variables but is there a way to provide a default value to null?

    I'm trying to set the role_arn for the AWS X-Ray exporter:
    https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/master/exporter/awsxrayexporter#exporter-configuration

    Bogdan Drutu
    @bogdandrutu
    hm... not sure about null, maybe we can think of a solution to not set that entry if the env is missing, I think we need to think about how to support null
    Juraci Paixão Kröhling
    @jpkrohling
    how about simply setting the env var to the string "null"? I mean, nobody would create an option with "null'' being a valid string value, would they?
    I see that the otel-collector channel at Slack has been created -- are we moving this room here there?
    1 reply
    Jude DSouza
    @dsouzajude
    Sorry i wasn't aware of this channel. I'm a newbie to OpenTelemetry :) Thanks however for your response. I'll try moving the conversation there.
    Tigran Najaryan
    @tigrannajaryan
    @/all there is now a Slack channel for Collector: https://app.slack.com/client/T08PSQ7BQ/C01N6P7KR6W
    Unless there are objections I suggest to move to Slack.
    Jay Camp
    @jrcamp
    @tigrannajaryan that link doesn't seem to work. is it in CNCF slack workspace?
    1 reply
    looks like it. CNCF workspace is: http://slack.cncf.io/ and the channel is #otel-collector
    Pavol Loffay
    @pavolloffay
    Hi, a question about attributes processor. Is there a way to remove attributes which match a regex? e.g. remove all attributes that match http.request.header.* key?
    3 replies
    Bence Janos Toth
    @benonymus

    Hey,
    Does anyone have a good example of deploying otel_collector (trying to use the contrib image with elastic exporter) as a sidecar to an elixir project using:
    https://hex.pm/packages/opentelemetry in the project.
    At the moment the deployment succeeds but nothing is coming through the pipeline.
    I added an receiver for opencensus as well that we are migrating from, but nothing comes there either.
    This indicates that the link between the 2 parts is missing.
    Any ideas or examples?

    Thanks

    Tigran Najaryan
    @tigrannajaryan
    Reminder: this discussion room has moved to CNCF Slack: https://cloud-native.slack.com/archives/C01N6P7KR6W
    Please don't use Gitter anymore.
    ChrisSmith
    @ChrisSmith
    If you're not already in the CNCF slack workspace that link won't work. You can join here https://slack.cncf.io/
    rupinder10
    @rupinder10
    I have configured the opentelemetry collector windows service. I tried adding the datadog exporter but when I do that I get an error 1064 while starting the service. Where does it log its details about what the problem is ?
    5 replies
    Filipe Oliveira
    @oliveirafilipe
    Hi folks. I'm really noob in the grpc world. I set up a open telemetry collector listening grpc.
    Does anyone have a grpcurlgrpcurl example on how can I use the protos for open telemetry and see if my collector is up and running correctly?
    1 reply
    Juraci Paixão Kröhling
    @jpkrohling
    Tigran Najaryan
    @tigrannajaryan
    Reminder: this discussion room has moved to CNCF Slack: https://cloud-native.slack.com/archives/C01N6P7KR6W
    Please don't use Gitter anymore. If you're not already in the CNCF slack workspace join here https://slack.cncf.io/
    Andrea Tosato
    @andreatosato
    I'm study otel, I have created this repo but it not work properly. I have no trace but zpages counter is not 0 in collector.
    I have traced with zipkin and jeager, i have used exporter directly in .net app.
    Tigran Najaryan
    @tigrannajaryan
    This discussion room has moved to CNCF Slack: https://cloud-native.slack.com/archives/C01N6P7KR6W
    Please don't use Gitter anymore. If you're not already in the CNCF slack workspace join here https://slack.cncf.io/
    Stephen Hong
    @stephenhong
    Hello team, I'm trying to forward metrics from one otel collector to another otel collector. These collectors are running on two different ec2 instances. I configured otlp receiver on one collector and otlp and otlp http exporter on the other. However, I get context deadline exceeded error from the collector that's trying to export metrics. Any suggestions on how to resolve this? Also, is there a better receiver/exporter pair for this particular use case? Thank you.
    Juraci Paixão Kröhling
    @jpkrohling

    Reminder - we have moved to #opentelemetry-collector channel on Slack http://slack.cncf.io/

    madhavichinni
    @madhavichinni
    hi , we want to implement a new processor similar to "attributes" processor of open telemetry to update/delete few attributes , can anyone please share the attributes processor code
    Maneesh Chintha
    @otel_explorer:matrix.org
    [m]

    Hi, I am working on migrating our project from OpenTracing to OpenTelemetry (that use Jaeger to collect the logs), Do you have the complete list of modules comparison (including the package structures) between OpenTracing - OpenTelemetry?
    For e.g.:
    OpenTracing has the below project: io.opentracing.contrib:opentracing-kafka-client
    What is the equivalent project in OpenTelemetry?

    OpenTracing has the below project: io.opentracing.contrib:opentracing-kafka-streams
    What is the equivalent project in OpenTelemetry?

    OpenTracing has the below project:
    io.opentracing:opentracing-util
    io.opentracing:opentracing-mock
    What are the equivalent projects in OpenTelemetry?

    Please note that these are just few of the projects that I am giving as examples. But, if we have the complete comparison between the projects then it will great for developer to quickly adapt and start using the OpenTelemetry modules.

    Tigran Najaryan
    @tigrannajaryan

    Reminder - we have moved to #opentelemetry-collector channel on Slack http://slack.cncf.io/

    胡同里有猫
    @domyway
    anyone here?
    Raju Yadav
    @yadavraju
    I trying to export openTelimetry trace from android app startup but I am getting this in all exporter jeger, zipkin, oltp
    failed to export spans. the request could not be executed. full error message: failed to connect to localhost/127.0.0.1:14250
    Although I am running docker containers locally
    madhavichinni
    @madhavichinni
    hi, I have multiple pipelines in my configuration file. I want to log the pipeline name in the logger of my application, Can anyone please share a sample peice of code to fetch and print pipeline name in logs
    saritatewari4
    @saritatewari4

    Hey all, I am trying to configure open telemetry collector with airflow dags but I am not able to export traces. With simple python file I am able to export them. Please help where I can check more documentation on this. This is my simple python script which is working to export trace.
    ```

    from opentelemetry import trace
    from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import OTLPSpanExporter
    from opentelemetry.sdk.trace import TracerProvider
    from opentelemetry.sdk.trace.export import BatchSpanProcessor

    def hello(**kwargs): # the function that the PythonOperator executes
    span_exporter = OTLPSpanExporter(
    endpoint="0.0.0.0:4317",
    insecure=True
    )

    tracer_provider = TracerProvider()
    trace.set_tracer_provider(tracer_provider)
    
    span_processor = BatchSpanProcessor(span_exporter)
    tracer_provider.add_span_processor(span_processor)
    
    # Configure the tracer to use the collector exporter
    tracer = trace.get_tracer_provider().get_tracer(__name__)
    
    with tracer.start_as_current_span("foo-test"):
        print(trace.get_tracer_provider())
        print("Hello world!")`
    StefanSa
    @StefanSa
    I am new to otel, so please bear with me.
    How can i send the hostname / agentname to the metrics that are collected by otelcol-contrib ?
    Currently i have only the metrics without reference to the host, so i did not know where the data comes from.
    brunda-bs
    @brunda-bs

    Hi, I am using otel metrics collector to scrape the metrics to push it to pensieve.
    But getting the below error -
    error exporterhelper/queued_retry.go:183 Exporting failed. The error is not retryable. Dropping data. {"kind": "exporter", "name": "prometheusremotewrite", "error": "Permanent error: Permanent error: Post \"https://telemetry.pensieve.maersk-digital.net/api/v1/push\": context deadline exceeded", "dropped_items": 89}

    The config is -

        receivers:
            prometheus:
              config:
                scrape_configs:
                 - job_name: 'dataplanes'
                   scrape_interval: "15s"
                   tls_config:
                     insecure_skip_verify: true
        processors:
            batch: null
            batch/2:
                timeout: 10s
                send_batch_size: 1000
                send_batch_max_size: 2000
            k8sattributes:
            memory_limiter:
                # 80% of maximum memory up to 2G
                limit_mib: 4000
                # 25% of limit up to 2G
                spike_limit_mib: 1024
                check_interval: 5s
        exporters:
            prometheusremotewrite:
                endpoint: "https://telemetry.pensieve.digital.net/api/v1/push"
                auth:
                    authenticator: oauth2client
        extensions:
            health_check: null
            health_check/1:
                endpoint: 0.0.0.0:13133
            pprof: null
            pprof/1:
                endpoint: 0.0.0.0:1777
                block_profile_fraction: 3
                mutex_profile_fraction: 5
            memory_ballast:
                size_mib: 512
            zpages: {}
            oauth2client:
                client_id: "${CLIENT_ID}"
                client_secret: "${CLIENT_SECRET}"
                token_url: https://login.microsoftonline.com/05d75c05-fa1a/oauth2/v2.0/token
                scopes: ["api://ingestion.pensieve/.default"]
        service:
            extensions:
                - health_check/1
                - pprof/1
                - zpages
                - oauth2client
            pipelines:
                metrics:
                    receivers:
                        - prometheus
                    processors:
                        - memory_limiter
                        - batch/2
                       - k8sattributes
                   exporters:
                        - prometheusremotewrite

    Please help

    Keval
    @Bhogayata-Keval
    So far, do opentelemetry-rust have the support to add / update / delete OR get the resource level attributes ?
    Keval
    @Bhogayata-Keval
    If not, from where can I get started to introduce this functionality ?
    Arunkumar Viswanathan
    @arunkumarviswanathan
    I'm new to OpenTelemetry and I've started the MockServer for vCenterReceiver and update the config as mentioned in the doc. https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/vcenterreceiver/internal/mockserver. Not sure how to start the scrapper to collect the data from the Mock vCenterServer
    Haris Kljajić
    @devharis
    When running otel collector as a sidecar in ECS, scraping prometheus metrics and exporting it with prometheusremotewrite. How would one go about adding external labelling to include the ECS TaskId and ContainerName to the metrics exported?