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

Metrics statsd only takes ip address #2398

Closed
zhangluva opened this issue Jul 15, 2022 · 1 comment · Fixed by #2429
Closed

Metrics statsd only takes ip address #2398

zhangluva opened this issue Jul 15, 2022 · 1 comment · Fixed by #2429
Labels
bug Something isn't working

Comments

@zhangluva
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Overview of the Issue

The statsd host key only accept IP address. When hostname (short or FQDN) is supplied, the server errors out.

Reproduction Steps

  • Create /etc/repo.yaml file like below
    metrics:
      statsd: 
        host: localhost
        port: 9125
    
  • Start the server with the required env and parameters

Logs

Error: initializing server: parsing /local/repo.yaml file: metrics: (statsd: (host: must be a valid IP address.).).

Environment details

If not already included, please provide the following:

  • Atlantis version: v0.19.6
  • If not running the latest Atlantis version have you tried to reproduce this issue on the latest version:
  • Atlantis flags: --repo-allowlist * --repo-config /etc/repo.yaml --log-level debug

Atlantis server-side config file:

# config file
metrics:
  statsd:
    host: localhost
    port: 9125

Repo atlantis.yaml file:

# config file

Additional Context

@zhangluva zhangluva added the bug Something isn't working label Jul 15, 2022
@therapy-lf
Copy link

We experience the same issue. It seems using fqdn isn't possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants