From 2066a79584cd6f7307d8b1e0c5780cbbcaeae618 Mon Sep 17 00:00:00 2001 From: Kev Date: Fri, 23 May 2025 12:52:46 -0400 Subject: [PATCH] feat(ourlogs): Make log bytes visible to all user in open beta This renames 'log storage' to 'logs' and leaves logs count as an internal feature. --- static/app/constants/index.tsx | 4 ++-- static/app/views/organizationStats/index.tsx | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/static/app/constants/index.tsx b/static/app/constants/index.tsx index b3c399fac3c051..dc47b5ce027e98 100644 --- a/static/app/constants/index.tsx +++ b/static/app/constants/index.tsx @@ -507,7 +507,7 @@ export const DATA_CATEGORY_INFO = { apiName: 'log_item', plural: DataCategory.LOG_ITEM, displayName: 'log', - titleName: t('Logs'), + titleName: t('Log Counts'), // Only currently visible internally, this name should change if we expose this to users. productName: t('Logging'), uid: 23, isBilledCategory: false, @@ -521,7 +521,7 @@ export const DATA_CATEGORY_INFO = { apiName: 'log_byte', plural: DataCategory.LOG_BYTE, displayName: 'log byte', - titleName: t('Logs Storage'), + titleName: t('Logs'), productName: t('Logging'), uid: 24, isBilledCategory: false, diff --git a/static/app/views/organizationStats/index.tsx b/static/app/views/organizationStats/index.tsx index 2be7097fbe6c22..87b6c92a690d85 100644 --- a/static/app/views/organizationStats/index.tsx +++ b/static/app/views/organizationStats/index.tsx @@ -276,7 +276,10 @@ export class OrganizationStats extends Component { if ([DataCategory.SEER_AUTOFIX, DataCategory.SEER_SCANNER].includes(opt.value)) { return organization.features.includes('seer-billing'); } - if ([DataCategory.LOG_BYTE, DataCategory.LOG_ITEM].includes(opt.value)) { + if ([DataCategory.LOG_BYTE].includes(opt.value)) { + return organization.features.includes('ourlogs-enabled'); + } + if ([DataCategory.LOG_ITEM].includes(opt.value)) { return organization.features.includes('ourlogs-stats'); } if (