Skip to content

Conversation

@ahupowerdns
Copy link
Contributor

This adds a getStats() too all Actions which is currently empty, but could be exposed via the API so people could query it remotely. I think it makes sense like this but @rgacogne is closed in tune with the architecture of dnsdist post 1.0.0 I think. So please ponder before merging!

if(dq->tcp)
d_tcpdrops++;
else {
d_queries++;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that this may be called from different threads, perhaps we might want to make d_tcpdrops and d_queries atomic

@ahupowerdns ahupowerdns merged commit fb2e6a1 into PowerDNS:master Apr 26, 2016
@ahupowerdns ahupowerdns deleted the teeaction branch September 19, 2017 19:11
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

Successfully merging this pull request may close these issues.

2 participants