Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import datadog-agent with go modules #5693

Closed
sonofachamp opened this issue Jun 8, 2020 · 1 comment
Closed

Unable to import datadog-agent with go modules #5693

sonofachamp opened this issue Jun 8, 2020 · 1 comment

Comments

@sonofachamp
Copy link

Describe what happened:

→ go get github.com/DataDog/datadog-agent
go: github.com/DataDog/datadog-agent upgrade => v0.0.0-20200608211623-9779275bb30b
go get: github.com/DataDog/[email protected] requires
        github.com/benesch/[email protected]: reading github.com/benesch/cgosymbolizer/go.mod at revision v0.0.0: unknown revision v0.0.0

Describe what you expected:
Successful import of the go module

Steps to reproduce the issue:
Try to import datadog-agent using go modules.

Additional environment details (Operating System, Cloud provider, etc):
Go version: go version go1.14.4 linux/amd64
OS: Ubuntu 18.04

@ogaca-dd
Copy link
Contributor

Hi @sonofachamp ,

DataDog Agent is not a library.
If you only want to send custom metrics, you can install DogStatsd and use Datadog Go library.
If you want to collect metrics from an host and send custom metrics, you can install the Agent and use Datadog Go library.

If the previous explanations do not help, can you give us more details about what you want to accomplish?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants