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

What Go version should be used for CWMetricsStreamExporter? #57

@wattdave

Description

@wattdave

When I do a go build -o main main.go on https://github.com/aws-observability/aws-o11y-recipes/blob/main/sandbox/CWMetricStreamExporter/lambda/main.go I get the following error on a Mac with go 1.18.2:

» go build -o main main.go                                                  
# command-line-arguments
./main.go:82:15: cannot use currentLabels (variable of type []*prompb.Label) as type []prompb.Label in struct literal
./main.go:246:15: cannot use timeseries (variable of type []*prompb.TimeSeries) as type []prompb.TimeSeries in struct literal
-----------------------------------------------------------------------------------------------------------------------------

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