Skip to content

[Research] Tracing for OpenFaaS Core services #1354

@alexellis

Description

@alexellis

[Research] Tracing for OpenFaaS Core services

There has been interest expressed in tracing from the community through Slack and issues over the last year and a half. At this time there doesn't seem to be any hard requirement or urgency so the feature hasn't been prioritised. This issue would look into the cost and scope of implementing tracing across the core services in OpenFaaS.

There are also some pros/cons to emitting spans, one of those is tightly coupling to an SDK from OpenTracing, OpenConsensus or, when it's ready OpenTelemetry, in every piece of code we write in the project.

Expected Behaviour

  1. Traces to be propagated, even if not emitted.
  2. Tracing to be available as a feature with a configuration for the "all in one" Jaeger etc image.

Current Behaviour

Unsure if traces are propagated.

Possible Solution

I'd like someone who has worked with OpenTracing or similar to provide a summary of changes and the pros/cons to implement the above. For those requesting this feature, please feel free to +1 or to leave your use-case in a comment.

Prometheus metrics are also emitted currently for core services and functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions