Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Setting name for line from API doesn't show in Web UI #144

@andrewmkrug

Description

@andrewmkrug

Setting a name doesn't load until the graph is resaved from the ui.

psuedo-code to reproduce:

name = 'Custom Name for line'
streams = []
streams.append({'metric': metric, 'source': source,'name': name})
chart = librato_api.create_chart(graph.name, space, streams=streams)
# this next line was an attempt to trigger the save that gets the name to show up
chart.save()

At this point, if you go to the space in the web ui it will have the generic name set to the source.
However, if you go to the properties of the line the name is set correctly.

To have the name get properly set then the chart has to be saved from the UI.

I have tried calling the save method for the chart from the api to see if that will trigger the name to properly show up.

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