const slowRequestExemplar: Exemplar = {
filteredAttributes: [
{ key: "trace.id", value: { stringValue: "abc123def456" } },
{ key: "user.id", value: { stringValue: "user_789" } }
],
timeUnixNano: "1640995230000000000",
asDouble: 5.2, // This specific request took 5.2 seconds
spanId: new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8]),
traceId: new Uint8Array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16])
};
🎯 Exemplar is a sample input measurement with environment information.
Exemplars provide specific examples of measurements that contributed to aggregated metrics. They help with debugging and understanding metric values.