opentelemetry-lambda icon indicating copy to clipboard operation
opentelemetry-lambda copied to clipboard

feat: Generate more telemetry via TelemetryAPI receiver

Open borchero opened this issue 1 year ago • 2 comments

Motivation

The current implementation of the Telemetry API receiver only generates init spans. However, it can easily be extended to create

  • spans for the entire function invocation
  • metrics for function invocations

This PR leverages the events provided by the Telemetry API to implement the latest semantic conventions for FaaS spans and metrics.

It also updates the coldstartprocessor to become a more general faasprocessor.

Please read through the READMEs of the telemetryapnireceiver and the faasprocessor for an overview of the changes.


I did not yet write unit tests (and only checked functionality manually) but wanted to check with the maintainers first whether this change would be desirable to include into this project.


This PR supersedes #1216.

borchero avatar Mar 31 '24 22:03 borchero

@rapphil I'm curious what you think about this.

tylerbenson avatar Apr 30 '24 20:04 tylerbenson

@borchero Do you have interest in finishing this out or should we close the PR? I think it's a promising improvement.

tylerbenson avatar Aug 21 '24 15:08 tylerbenson

Any plans to finish this?

gkaskonas avatar Jan 10 '25 10:01 gkaskonas

Closed as inactive. Feel free to reopen if this PR is still being worked on.

github-actions[bot] avatar Feb 13 '25 03:02 github-actions[bot]