c

    Chris Martinez

    5 months ago
    Hi Good morning, is anyone familiar with dropping the following labels from a job/task in a kubernetes agent:
    <http://prefect.io/flow_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx|prefect.io/flow_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx>                                                                                                                                                            
    <http://prefect.io/flow_run_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxx|prefect.io/flow_run_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxx>                                                                                                                                                         <http://prefect.io/identifier=xxxxxxxx|prefect.io/identifier=xxxxxxxx>
    Kevin Kho

    Kevin Kho

    5 months ago
    Looking into this, but why are you trying to drop them?
    c

    Chris Martinez

    5 months ago
    looking to trim some labels or possibly even join them into a single label due to constraints from grafana allowing us a max amount of labels
    Kevin Kho

    Kevin Kho

    5 months ago
    The agent uses them to manage jobs though so I don’t think you can remove them
    c

    Chris Martinez

    5 months ago
    I would be fine using that specific label if that is used for removal but the other two seem as though they could either be combined or removed.
    Kevin Kho

    Kevin Kho

    5 months ago
    So we surely need
    flow_run_id
    . I don’t know about
    flow_id
    . We could open an issue. You can’t do this at the moment because it’s hardcoded. You could remove
    flow_id
    from here and re-deploy your agent, but then you’d need to change your image of course.
    c

    Chris Martinez

    5 months ago
    Okay makes sense, I appreciate the help with this
    Kevin Kho

    Kevin Kho

    5 months ago
    you can chime in here . we’ll see what the core team says.