Skip to content

Telemetryapi receiver types - excluding extension also drops platform #2054

@jousby

Description

@jousby

Describe the bug
As per the telemetryapi README there are three types of telemetry you can subscribe to ["platform", "function", "extension"]. If you exclude "extension" from this set it also turns off "platform".

Steps to reproduce

  • Create and instrument a Lambda function
  • Enable telemetryapi receiver for logs and traces and constrain the types for receiver to 'platform' and 'function'.
  telemetryapi:
    types:
      - platform
      - function
  • Send logs to your OTEL backend of choice and check for the presence the platform log messages (platform.initStart, platform.initRuntimeDone)

What did you expect to see?
No logs for the extension.
Logs from the function
Logs from the platform for initStart and initRuntimeDone

What did you see instead?
Logs from the function only

What version of collector/language SDK version did you use?

0.19.0 (collector layer)
0.18.0 (nodejs layer)

What language layer did you use?
javascript

Additional context
Add any other context about the problem here.

Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggoPull requests that update Go code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions