Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logstransform processor not availabe in latest docker images #17861

Closed
fspiessaignx opened this issue Jan 19, 2023 · 3 comments
Closed

Logstransform processor not availabe in latest docker images #17861

fspiessaignx opened this issue Jan 19, 2023 · 3 comments
Labels
bug Something isn't working closed as inactive processor/logstransform Logs Transform processor Stale

Comments

@fspiessaignx
Copy link

Component(s)

No response

What happened?

Description

According to the Release Changes the Logstransform processor should be part of the latest distribution of opentelemetry-collector-contrib. Since it is not defined in the components file, people are not able to use it in the moment.

Steps to Reproduce

Add logstransform processor to a collector config using the latest docker image.

Expected Result

A running collector which is able to parse the json body.

Actual Result

Collector fails during startup because logstranfom is not a valid processor.

Collector version

v0.69.0

Environment information

Environment

OS: GKE Kubernetes Cluster (v1.22.15-gke.2500) with Linux nodes
Deployed by the OpenTelemetry Kubernetes Operator
Collector Image: otel/opentelemetry-collector-contrib:0.69.0

OpenTelemetry Collector configuration

...
spec:
  mode: deployment
  image: otel/opentelemetry-collector-contrib:0.69.0
  env:
    - name: CLUSTER_NAME
      value: ...
    - name: KUBE_NODE_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: spec.nodeName
  serviceAccount: otel-collector
  config: |
    receivers:
      googlecloudpubsub:
        project: <project>
        subscription: <subscription>
        encoding: raw_text

    processors:
      logstransform:
        operators:
          - type: json_parser
            parse_from: body.message
...

Log output

2023/01/19 08:45:30 collector server run finished with error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:

* error decoding 'processors': unknown type: "logstransform" for id: "logstransform" (valid values: [deltatorate k8sattributes experimental_metricsgeneration probabilistic_sampler redaction routing batch filter groupbytrace resourcedetection span memory_limiter attributes datadog metricstransform resource tail_sampling transform cumulativetodelta groupbyattrs servicegraph spanmetrics])

Additional context

I think we need to add the logstranform processor to components.go.

@fspiessaignx fspiessaignx added bug Something isn't working needs triage New item requiring triage labels Jan 19, 2023
@djaglowski
Copy link
Member

Please see explanation here.

@djaglowski djaglowski added processor/logstransform Logs Transform processor and removed needs triage New item requiring triage labels Jan 19, 2023
@github-actions
Copy link
Contributor

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@github-actions github-actions bot added the Stale label Mar 21, 2023
@github-actions
Copy link
Contributor

This issue has been closed as inactive because it has been stale for 120 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working closed as inactive processor/logstransform Logs Transform processor Stale
Projects
None yet
Development

No branches or pull requests

2 participants