Skip to content

Unable to create logs_list panels with in the dashboard #236

Description

@asiridiaz

When i tried to create a simple logs_list panel im getting the below error

Error: expected group.0.chart.0.query.0.display to be one of [line area bar big_number heatmap dependency_map big_number_v2 scatter_plot ordered_list pie table traces_list trichart gauge], got logs_list

Image

so when i change the display to any of the given arguments such as ordered_list (just to test) im getting an error from the API side

Error: failed to update dashboard: status 400 (400 Bad Request): "{\"errors\":[\"rpc error: code = InvalidArgument desc = chart 'Test Log Dashboard 2': query 'a': 'ErrInvalidDisplayType: 0_0: query for raw logs requires logs_list display type': tql_compilation_error\"]}"

Image

so it is clear that this pannel is expecting the logs_list as a valid argument from lightstep side. but due to the validation from terraform provider we cannot set the dispay argument as "logs_List"

and when i check the repository "lightstep/resource_dashboard.go" in line 41 there is a validate function "getUnifiedQuerySchemaMap" where i couldnt find the logs_list as a valid argument

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions