mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-13 13:48:59 +02:00
feat: default origin for impact metrics
This commit is contained in:
parent
21748c4ba5
commit
36fb0e1976
@ -46,7 +46,7 @@ export class MetricsTranslator {
|
||||
): Record<string, string | number> {
|
||||
return {
|
||||
...(sample.labels || {}),
|
||||
origin: (sample.labels && sample.labels.origin) || 'sdk', // Default to 'sdk' if not provided
|
||||
origin: (sample.labels && sample.labels.origin) || 'sdk',
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user