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

behavior about frequency #13

Open
islue opened this issue Aug 16, 2022 · 0 comments
Open

behavior about frequency #13

islue opened this issue Aug 16, 2022 · 0 comments

Comments

@islue
Copy link

islue commented Aug 16, 2022

my config:

{
    "servers": {
      "udp": {
        "port": 8125
      },
      "tcp": {
        "port": 8125
      }
    },
    "frequency": 10,
    "log_level": "debug",
    "backends": {
      "stdout": true
    }
}

environment: in a docker container with os amzn2

How to repeat:

  1. start statsdcc with the config above
  2. echo "foo:1|c" | nc -u 127.0.0.1 8125
  3. wait time over 10s
  4. echo "bar:1|c" | nc -u 127.0.0.1 8125
  5. info about foo is printed out
  6. bar won't be printed out if no more metric sent to statsdcc

I expected that statsdcc will flush metrics every 10s by automatically. But it seems that the flushing action must be triggered by a metric sending after 10s.
Is it a behavior by design? Or am I missing anything?

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

1 participant