864 Commits

Author SHA1 Message Date
Mariusz Nowak
ae9442e53b fix(Telemetry): Do not share telemetry cache folder with old versions
Fixes the issue for global to local fallback case, where older global which send cache on every command was sending same telemetry as local
2021-05-04 22:12:00 +02:00
Piotr Grzesik
bdbf154c97 fix(Telemetry): Split stack lines properly on all OS-es 2021-05-03 12:12:24 +02:00
Piotr Grzesik
3ab06282fd fix(Telemetry): Handle error locations not enclosed in parens 2021-05-03 12:12:24 +02:00
Piotr Grzesik
3ccf6a3af3
fix(Telemetry): Properly resolve location when for only relative paths (#9418) 2021-05-03 11:35:17 +02:00
Piotr Grzesik
d647125ff5 feat(Telemetry): Add commandDurationMs to payload 2021-04-30 11:57:03 +02:00
Piotr Grzesik
5861d08768 feat(Telemetry): Report failures via telemetry 2021-04-30 11:54:29 +02:00
Piotr Grzesik
8860397798 refactor(Telemetry): Add resolveErrorLocation util 2021-04-30 11:54:29 +02:00
Piotr Grzesik
f1a9a7b760 refactor(Telemetry): Add anonymizeStacktracePaths util 2021-04-30 11:54:29 +02:00
Piotr Grzesik
f5b2b9be39 feat(Telemetry): Add commandOptionNames to payload 2021-04-28 16:30:47 +02:00
Piotr Grzesik
ba5f207d0a refactor(Telemetry): Make serverless optional in generatePayload 2021-04-27 17:46:19 +02:00
Piotr Grzesik
11e7311032 refactor: Introduce is-using-local-installation util 2021-04-27 17:46:19 +02:00
Piotr Grzesik
822a7cf9f5 refactor: Add code to ServerlessError in lib/utils 2021-04-23 13:34:20 +02:00
Piotr Grzesik
ba7fd2e1b4 feat(Telemetry): Allow to disable telemetry via SLS_TELEMETRY_DISABLED 2021-04-21 14:30:51 +02:00
Piotr Grzesik
f4302249a9 fix(Telemetry): Do not send request when there are no events 2021-04-20 15:39:48 +02:00
Piotr Grzesik
0f30125189 refactor(Telemetry): Make getServiceConfig return only config prop 2021-04-19 16:18:24 +02:00
Piotr Grzesik
d3ecb7cc3b feat(Telemetry): Record all commands and send only on deploy 2021-04-19 16:18:24 +02:00
Piotr Grzesik
cde1e54878 feat(Telemetry): Adjust generatePayload for service-agnostic command 2021-04-19 16:18:24 +02:00
Piotr Grzesik
5be1fd0486 feat(Telemetry): Do not send request during storeLocally 2021-04-19 16:18:24 +02:00
Piotr Grzesik
bd4e792594 refactor(Telemetry): Rename report to storeLocally 2021-04-19 16:18:24 +02:00
Piotr Grzesik
70175857c9 refactor(Telemetry): Rename sendPending to send 2021-04-19 16:18:24 +02:00
Mariusz Nowak
e8c8f1cfff refactor: Rename servicePath vars to serviceDir 2021-04-16 13:32:13 +02:00
Mariusz Nowak
87d380275b refactor: Replace config.servicePath with service.dir 2021-04-16 13:32:13 +02:00
Piotr Grzesik
d66711108b refactor(Telemetry): Rename analytics to telemetry 2021-04-16 10:45:56 +02:00
Piotr Grzesik
f805786d7c feat: Bring back support for serverlessExecutionSpan 2021-04-15 17:08:48 +02:00
Piotr Grzesik
010fa2ca83 feat: Remove ongoingRequestCount counter 2021-04-15 17:08:48 +02:00
Piotr Grzesik
8c6be158d7 refactor: Use async/await in analytics test 2021-04-15 17:08:48 +02:00
Piotr Grzesik
278935d3f5 feat(Analytics): Send all payloads with single request 2021-04-15 17:08:48 +02:00
Piotr Grzesik
3e913fafd4 feat(Analytics): Remove handling of obsolete serverlessExecutionSpan 2021-04-15 17:08:48 +02:00
Piotr Grzesik
8aa275725b refactor: Use async/await in PluginManager 2021-04-13 09:15:30 +02:00
Piotr Grzesik
b35c28a194 refactor: Use async/await in analytics 2021-04-13 09:15:30 +02:00
Piotr Grzesik
c88a2ea61a feat: Account for functions with containers for analytics 2021-04-07 13:49:59 +02:00
Mariusz Nowak
2011649537 refactor: Remove injustified "eslint-disable" comments 2021-04-02 15:05:03 +02:00
Piotr Grzesik
6674660b17 fix: Ensure correct payload generation for functions without events 2021-03-29 16:38:55 +02:00
Piotr Grzesik
e20766cf25 feat: Detect Serverless CI/CD engine for analytics 2021-03-24 16:35:45 +01:00
Piotr Grzesik
f6292b2d49 feat: Extend generatePayload 2021-03-16 09:50:19 +01:00
Mariusz Nowak
774358271e refactor: Seclude tokenizeException util 2021-03-05 16:20:03 +01:00
Piotr Grzesik
f62fc2ee9c refactor: Revert removal of bluebird from lib/utils
This reverts commit 820cc1f581bfd502e5452f5c9935301ec86f9d14.
2021-03-04 11:06:44 +01:00
Juanjo Diaz
820cc1f581
refactor: Remove bluebird from lib/utils (#8972) 2021-02-22 10:05:31 +01:00
Mariusz Nowak
16950d098b refactor(CLI): Remove internal CLI arguments parsing 2021-02-11 14:01:41 +01:00
Dmitry Shirokov
9ad4d07886
feat(AWS IAM): Group IAM-related settings under provider.iam (#8701) 2021-02-11 13:11:58 +01:00
Mariusz Nowak
ab77a11e13 fix: Handle gently npm response errors 2021-02-05 15:38:04 +01:00
Mariusz Nowak
77c7d55f62 refactor: Prefix private property with "_" 2021-02-02 08:53:24 +01:00
Piotr Grzesik
e79f906b9f fix(Templates): Ensure that .gitignore is packaged for templates 2021-01-28 15:51:55 +01:00
Piotr Grzesik
f6c5427b0f chore: Bump @serverless/utils to "v3.0.0" 2021-01-26 16:23:31 +01:00
Sudipto Das
9abe9db27f
refactor: Replace fse.exists with fs.promises.access (#8788) 2021-01-24 14:31:08 +01:00
Mariusz Nowak
8f3481e42a refactor: Improve var naming 2021-01-22 14:57:10 +01:00
Mariusz Nowak
f274cd7637 refactor: Seclude configuration parse from internals 2021-01-22 14:57:10 +01:00
Mariusz Nowak
97d544be82 refactor: Refactor to async/await 2021-01-22 14:57:10 +01:00
Mariusz Nowak
b23bfdbf6a refactor(CLI): Seclude service config path resolution out of internals 2021-01-18 16:19:12 +01:00
Mariusz Nowak
76ab2ffbe2 refactor: Refactor to async/await 2021-01-18 16:19:12 +01:00