coroot / coroot-node-agent

A Prometheus exporter based on eBPF that gathers comprehensive container metrics
https://coroot.com/docs/metrics/node-agent
Apache License 2.0
311 stars 55 forks source link

go mod unknown revision #37

Closed blue-troy closed 11 months ago

blue-troy commented 11 months ago

current go mod file: https://github.com/coroot/coroot-node-agent/blob/172da08b770c4c5416a36e2817291f4ca0b4a9c7/go.mod#L142 but this revision of taskstats do not exist and the error occur:

go: github.com/mdlayher/taskstats@v0.0.0-00010101000000-000000000000 (replaced by github.com/coroot/taskstats@v0.0.0-20230306100019-4faaee49e6cf): version "v0.0.0-20230306100019-4faaee49e6cf" invalid: unknown revision 4faaee49e6cf
blue-troy commented 11 months ago

20230306100019-4faaee49e6cf do not exit, maybe 20230306104127-411100e19e3a is the right revision?

apetruhin commented 11 months ago

It exists somewhere https://github.com/coroot/taskstats/commit/4faaee49e6cf9ee9ab04aa02bc1516a8b9e6bf03 😄

We can switch back to https://github.com/mdlayher/taskstats. Could you please remove the replacement and update github.com/mdlayher/taskstats to the latest version?

blue-troy commented 11 months ago

Yeah, i will update my pr to do that.

blue-troy commented 11 months ago

This issue may be caused by my Golang configuration or something else. I will close this issue and create a new one about switch back to https://github.com/mdlayher/taskstats.