mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
White-listing of telemetry params (#7262)
* Drop support for adding telemetry by tagging This was not used, and would make development of future feature more difficult. Co-authored-by: Janne Savolainen <janne.savolainen@live.fi> Signed-off-by: Iku-turso <mikko.aspiala@gmail.com> * Introduce white-listing for params of telemetry Co-authored-by: Janne Savolainen <janne.savolainen@live.fi> Signed-off-by: Iku-turso <mikko.aspiala@gmail.com> * Fix linting Co-authored-by: Janne Savolainen <janne.savolainen@live.fi> Signed-off-by: Iku-turso <mikko.aspiala@gmail.com> * Make misconfigured telemetry for function parameters log the error, and not blow up fatally Co-authored-by: Janne Savolainen <janne.savolainen@live.fi> Signed-off-by: Iku-turso <mikko.aspiala@gmail.com> --------- Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
1 parent
129565f08a
commit
c6799e1478
9 files changed
+189
-73
No files matched your search
@@ -30,6 +30,7 @@ const consoleLoggerTransportInjectable = getInjectable({
|
||||
),
|
||||
}),
|
||||
injectionToken: loggerTransportInjectionToken,
|
||||
decorable: false,
|
||||
});
|
||||
|
||||
export default consoleLoggerTransportInjectable;
|
||||
@@ -23,6 +23,7 @@ const fileLoggerTranportInjectable = getInjectable({
|
||||
tailable: true,
|
||||
}),
|
||||
injectionToken: loggerTransportInjectionToken,
|
||||
decorable: false,
|
||||
});
|
||||
|
||||
export default fileLoggerTranportInjectable;
|
||||
Reference in new issue
Block a user