Update diagnostics settings API to be aware of specific diagnostics settings

while remaining generic to accept any other settings as pass-through.