add twenty-tinybird package (#8030)

https://github.com/twentyhq/private-issues/issues/75

**TLDR**

Add twenty-server package, wich contains the last tinybird datasources
and pipes used in analytics.

This new version of the API endpoints, pipes and datasources are
inspired by the implementation of dub.co
(https://github.com/dubinc/dub/blob/main/packages/tinybird/).

It contains the webhooks analytics, serverless functions duration and
serverless functions error count analytics. As well as


**In order to test**

- Follow the instructions in the README.md on twenty-tinybird using your
admin token from twenty_analytics_playground if you want to modify them.
- For a better experience add the extension Tinybird support for VsCode 
- If you want more info about datasources and pipes please read the
tinybird docs.

---------

Co-authored-by: Félix Malfait <felix@twenty.com>
Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
Ana Sofia Marin Alexandre
2024-10-29 06:31:05 -03:00
committed by GitHub
parent 6fba3e0805
commit 8ef4efa0f5
22 changed files with 791 additions and 0 deletions

View File

@ -0,0 +1,11 @@
"href","locale","pathname","referrer","sessionId","timeZone","timestamp","userAgent","userId","version","workspaceId"
"http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","en-US","/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","ebb6279c-c9a6-44c7-b751-6ee615e6a5fe","Europe/Paris","2024-10-17 12:30:33.604","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
"http://localhost:3001/objects/companies","en-US","/welcome","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:37:53.093","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
"http://localhost:3001/objects/companies","en-US","/objects/companies","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:37:53.184","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
"http://localhost:3001/settings/profile","en-US","/settings/profile","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:37:54.802","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
"http://localhost:3001/settings/integrations","en-US","/settings/integrations","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:37:56.686","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
"http://localhost:3001/settings/developers","en-US","/settings/developers","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:38:01.364","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
"http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","en-US","/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:38:02.518","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
"http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","en-US","/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:41:11.844","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
"http://localhost:3001/settings/profile","en-US","/settings/profile","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:41:23.864","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
"http://localhost:3001/settings/appearance","en-US","/settings/appearance","http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d","8fc30143-b648-4fc0-afe7-e55e1c452003","Europe/Paris","2024-10-17 12:41:25.972","Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","20202020-9e3b-46d4-a556-88b9ddc2b034","1","20202020-1c25-4d02-bf25-6aeccf7ea419"
1 href locale pathname referrer sessionId timeZone timestamp userAgent userId version workspaceId
2 http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d en-US /settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d ebb6279c-c9a6-44c7-b751-6ee615e6a5fe Europe/Paris 2024-10-17 12:30:33.604 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419
3 http://localhost:3001/objects/companies en-US /welcome http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d 8fc30143-b648-4fc0-afe7-e55e1c452003 Europe/Paris 2024-10-17 12:37:53.093 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419
4 http://localhost:3001/objects/companies en-US /objects/companies http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d 8fc30143-b648-4fc0-afe7-e55e1c452003 Europe/Paris 2024-10-17 12:37:53.184 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419
5 http://localhost:3001/settings/profile en-US /settings/profile http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d 8fc30143-b648-4fc0-afe7-e55e1c452003 Europe/Paris 2024-10-17 12:37:54.802 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419
6 http://localhost:3001/settings/integrations en-US /settings/integrations http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d 8fc30143-b648-4fc0-afe7-e55e1c452003 Europe/Paris 2024-10-17 12:37:56.686 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419
7 http://localhost:3001/settings/developers en-US /settings/developers http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d 8fc30143-b648-4fc0-afe7-e55e1c452003 Europe/Paris 2024-10-17 12:38:01.364 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419
8 http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d en-US /settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d 8fc30143-b648-4fc0-afe7-e55e1c452003 Europe/Paris 2024-10-17 12:38:02.518 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419
9 http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d en-US /settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d 8fc30143-b648-4fc0-afe7-e55e1c452003 Europe/Paris 2024-10-17 12:41:11.844 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419
10 http://localhost:3001/settings/profile en-US /settings/profile http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d 8fc30143-b648-4fc0-afe7-e55e1c452003 Europe/Paris 2024-10-17 12:41:23.864 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419
11 http://localhost:3001/settings/appearance en-US /settings/appearance http://localhost:3001/settings/developers/webhooks/41a8ad80-265a-425a-93da-35452d0ac83d 8fc30143-b648-4fc0-afe7-e55e1c452003 Europe/Paris 2024-10-17 12:41:25.972 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 20202020-9e3b-46d4-a556-88b9ddc2b034 1 20202020-1c25-4d02-bf25-6aeccf7ea419