Merge branch 'develop' into chore/hotrod-locust

This commit is contained in:
Prashant Shahi 2023-07-11 23:47:19 +05:30 committed by GitHub
commit 340f14be3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -272,7 +272,7 @@ function LogsExplorerViews(): JSX.Element {
Panel limit exceeded for {DataSource.LOGS} in community edition. Please Panel limit exceeded for {DataSource.LOGS} in community edition. Please
checkout our paid plans{' '} checkout our paid plans{' '}
<a <a
href="https://signoz.io/pricing" href="https://signoz.io/pricing/?utm_source=product&utm_medium=dashboard-limit"
rel="noreferrer noopener" rel="noreferrer noopener"
target="_blank" target="_blank"
> >

View File

@ -105,7 +105,7 @@ function TracesExplorer(): JSX.Element {
Panel limit exceeded for {DataSource.TRACES} in community edition. Panel limit exceeded for {DataSource.TRACES} in community edition.
Please checkout our paid plans{' '} Please checkout our paid plans{' '}
<a <a
href="https://signoz.io/pricing" href="https://signoz.io/pricing/?utm_source=product&utm_medium=dashboard-limit"
rel="noreferrer noopener" rel="noreferrer noopener"
target="_blank" target="_blank"
> >

View File

@ -3958,7 +3958,10 @@ func (r *ClickHouseReader) GetLogAttributeValues(ctx context.Context, req *v3.Fi
// if dataType or tagType is not present return empty response // if dataType or tagType is not present return empty response
if len(req.FilterAttributeKeyDataType) == 0 || len(req.TagType) == 0 || req.FilterAttributeKey == "body" { if len(req.FilterAttributeKeyDataType) == 0 || len(req.TagType) == 0 || req.FilterAttributeKey == "body" {
return &v3.FilterAttributeValueResponse{}, nil // also check if it is not a top level key
if _, ok := constants.StaticFieldsLogsV3[req.FilterAttributeKey]; !ok {
return &v3.FilterAttributeValueResponse{}, nil
}
} }
// if data type is bool, return true and false // if data type is bool, return true and false