The determination of the amount of discoidin domain-containing receptor 2 in a sample. The trait is discoidin domain-containing receptor 2 measurement (EFO_0020327).