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

Custom stats #21

Open
kschafer2598 opened this issue Oct 9, 2020 · 0 comments
Open

Custom stats #21

kschafer2598 opened this issue Oct 9, 2020 · 0 comments

Comments

@kschafer2598
Copy link

Hi,

This may be more education than an issue, but how can we see custom stats?

We set some stats with this config:

event_route[dispatcher:dst-down] {
    xlog("L_ERR", "message=DestinationDown method=$rm dest=$ru \n");
    update_stat("destination_down", "+1");
    }
event_route[dispatcher:dst-up] {
    xlog("L_ERR", "message=DestinationUp method=$rm dest=$ru \n");
    update_stat("destination_up", "+1");
    }

And when viewing the stats via kamcmd, we can see them:

    "script:call_count = 0",
    "script:destination_down = 0",
    "script:destination_up = 0",

But they don't show up in the exporter output. How can we see these in the exporter?

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