Open rohan-arthur opened 7 months ago
Here are the metrics from the datasourceStorage
collection on Appsmith cloud database:
Total documents: 191432 Total datasources with Airtable connection: 1897 Total Airtable datasources using API Key option: 1048 Total Airtable datasources using Personal Access Token option: 849
cc: @rohan-arthur
Aggregation Queries Executed to find the metrics:
Total Airtable datasources using API Key option: Collection: datasourceStorage Query:
[ { $project: { _id: 1, datasourceConfiguration: 1, datasourceId: { $toObjectId: "$datasourceId", }, }, }, { $lookup: { from: "datasource", localField: "datasourceId", foreignField: "_id", as: "datasourceId", }, }, { $unwind: { path: "$datasourceId", preserveNullAndEmptyArrays: true, }, }, { $match: { "datasourceId.pluginId": "61dbfd4b6bd5757f166ccc76", datasourceConfiguration: { $exists: true, }, }, }, { $match: { "datasourceConfiguration.authentication.authenticationType": "apiKey", }, }, { $count: "count", }, ]
Total Airtable datasources using Personal Access Token option:
Collection: datasourceStorage
Query:
[ { $project: { _id: 1, datasourceConfiguration: 1, datasourceId: { $toObjectId: "$datasourceId", }, }, }, { $lookup: { from: "datasource", localField: "datasourceId", foreignField: "_id", as: "datasourceId", }, }, { $unwind: { path: "$datasourceId", preserveNullAndEmptyArrays: true, }, }, { $match: { "datasourceId.pluginId": "61dbfd4b6bd5757f166ccc76", datasourceConfiguration: { $exists: true, }, }, }, { $match: { "datasourceConfiguration.authentication.authenticationType": "bearerToken", }, }, { $count: "count", }, ]
From the metrics above, the no of datasources with Airtable connection is (<1%) as compared to the total datasource connections. The usage of API key option for Airtable further drills down to only 0.5% usage. @rohan-arthur
As discussed in the standup, the usage numbers are relatively small for us to prioritize working on this issue. @rohan-arthur
Hii @NilanshBansal @rohan-arthur , I am picking up this issue !!
@Naveen-Goud , this may not be a suitable issue. Please look for issues with label Inviting contributions
.
SubTasks
Airtable is deprecating API key access on Feb 1 https://support.airtable.com/docs/airtable-api-key-deprecation-notice
Previously, we added
Personal access token
to the datasource form as an additional option apart from API key. Now, the API key option needs to be removed.For new users
Existing users