Errors building sample remote storage application

15 views
Skip to first unread message

hartfordfive

unread,
Feb 28, 2022, 8:00:51 AM2/28/22
to Prometheus Users
I'm attempting to build the following sample application for remote storage:


Although when initializing my mod file and attempting to run "go mod tidy", I always get the following error:

github.com/hartfordfive/prom-remote-storage-example imports
        github.com/prometheus/prometheus/storage/remote 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: module github.com/Azure/azure-sdk-for-go@latest found (v62.0.0+incompatible), but does not contain package github.com/Azure/azure-sdk-for-go/arm/compute
github.com/hartfordfive/prom-remote-storage-example imports
        github.com/prometheus/prometheus/storage/remote 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: module github.com/Azure/azure-sdk-for-go@latest found (v62.0.0+incompatible), but does not contain package github.com/Azure/azure-sdk-for-go/arm/network


Seems like this dependency is missing although I can't seem to solve this.   Any help would be appreciated.

Thanks.
Reply all
Reply to author
Forward
0 new messages