Skip to content

Error when installing the sidecar on local machine. #286

@harpreetpaul

Description

@harpreetpaul

I am on go version - go1.16.5 windows/amd64

I am trying to follow the installation step mentioned in README

go get github.com/Stackdriver/stackdriver-prometheus-sidecar/...

During the installation I am getting following error. Any pointers to resolve this issue

github.com/Stackdriver/stackdriver-prometheus-sidecar/cmd/stackdriver-prometheus-sidecar imports
        go.opencensus.io/exporter/prometheus: cannot find module providing package go.opencensus.io/exporter/prometheus
github.com/Stackdriver/stackdriver-prometheus-sidecar/cmd/stackdriver-prometheus-sidecar imports
        github.com/prometheus/prometheus/config imports
        github.com/prometheus/prometheus/discovery/config imports
        github.com/prometheus/prometheus/discovery/azure imports
        github.com/Azure/azure-sdk-for-go/arm/compute: cannot find module providing package github.com/Azure/azure-sdk-for-go/arm/compute
github.com/Stackdriver/stackdriver-prometheus-sidecar/cmd/stackdriver-prometheus-sidecar imports
        github.com/prometheus/prometheus/config imports
        github.com/prometheus/prometheus/discovery/config imports
        github.com/prometheus/prometheus/discovery/azure imports
        github.com/Azure/azure-sdk-for-go/arm/network: cannot find module providing package github.com/Azure/azure-sdk-for-go/arm/network

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