Hi Good morning, is anyone familiar with dropping ...
# prefect-community
c
Hi Good morning, is anyone familiar with dropping the following labels from a job/task in a kubernetes agent:
Copy code
<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>
discourse 1
k
Looking into this, but why are you trying to drop them?
c
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
k
The agent uses them to manage jobs though so I don’t think you can remove them
c
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.
k
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
Okay makes sense, I appreciate the help with this
k
you can chime in here . we’ll see what the core team says.