DNS-OARC / dns-metrics

DNS Metrics JSON Schema
https://dns-oarc.github.io/dns-metrics/
Creative Commons Zero v1.0 Universal
1 stars 2 forks source link

Stat split #13

Open jelu opened 1 month ago

jelu commented 1 month ago
jelu commented 1 month ago

This split changes some of the stats properties to be either an object or a counter, maybe too complex, donno. Discuss :)

pspacek commented 1 month ago

Seems like an overkill to me, and potentially confusing. Some things might not be applicable - e.g. timeout of sending stuff etc.

nicki-krizek commented 1 month ago

I don't like the complexity and the potential confusion it brings. Someone could mistakenly use this:

"sent": {
  "queries": 100,
  "responses": 90
}

when they meant to write this instead:

"sent": {
  "queries": 100
},
"received": {
  "responses": 90
}

On the other hand, being able to specify that responses were sent / queries received makes the format more flexible for tracking server-side data, which is nice...