Skip to content

Commit 2d818ac

Browse files
authored
feat(ourlogs): Make log bytes visible to all user in open beta (#92218)
### Summary This renames 'log storage' to 'logs', exposing it to users, and leaves logs count as an internal feature.
1 parent 65bd029 commit 2d818ac

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

static/app/constants/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ export const DATA_CATEGORY_INFO = {
507507
apiName: 'log_item',
508508
plural: DataCategory.LOG_ITEM,
509509
displayName: 'log',
510-
titleName: t('Logs'),
510+
titleName: t('Log Counts'), // Only currently visible internally, this name should change if we expose this to users.
511511
productName: t('Logging'),
512512
uid: 23,
513513
isBilledCategory: false,
@@ -521,7 +521,7 @@ export const DATA_CATEGORY_INFO = {
521521
apiName: 'log_byte',
522522
plural: DataCategory.LOG_BYTE,
523523
displayName: 'log byte',
524-
titleName: t('Logs Storage'),
524+
titleName: t('Logs'),
525525
productName: t('Logging'),
526526
uid: 24,
527527
isBilledCategory: false,

static/app/views/organizationStats/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,10 @@ export class OrganizationStats extends Component<OrganizationStatsProps> {
276276
if ([DataCategory.SEER_AUTOFIX, DataCategory.SEER_SCANNER].includes(opt.value)) {
277277
return organization.features.includes('seer-billing');
278278
}
279-
if ([DataCategory.LOG_BYTE, DataCategory.LOG_ITEM].includes(opt.value)) {
279+
if ([DataCategory.LOG_BYTE].includes(opt.value)) {
280+
return organization.features.includes('ourlogs-enabled');
281+
}
282+
if ([DataCategory.LOG_ITEM].includes(opt.value)) {
280283
return organization.features.includes('ourlogs-stats');
281284
}
282285
if (

0 commit comments

Comments
 (0)