addDiagnostics
Adds or modifies this segment's diagnostics.
Entries in the given map whose keys are not present in the current diagnostics are added. Otherwise, existing entries are modified with the given map's value.
Parameters
diagnostics
the additional diagnostics