Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Serialization error for Traces between PHP and Go daemon #244

Open
@subnova

Description

@subnova

The go daemon requires stackTrace to be an array of strings.

https://github.com/census-instrumentation/opencensus-php/blob/master/daemon/processor/local/helper_types.go#L37

However, the Span class in the PHP library sets the stackTrace to an array of objects.

https://github.com/census-instrumentation/opencensus-php/blob/master/src/Trace/Span.php#L226

DaemonClient should serialize the objects before sending them to the daemon.

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