How to configure CheckID that is sent to consul

Hi Everyone,

I am trying to change the CheckID or at least add a prefix that is sent to Consul so that I can see in the logs better which docker container failed?
At the moment I see nomad-check- and the docker ID

agent: Check status updated: check=_nomad-check-e17704ca0e47e852034d5fbdad1e542fa492e85d status=passing

How could I change the prefix? of the checkID

Regards,
Lucas

Hi @lssilva,

It seems that this is not currently possible, apologies. I will raise this internally today and come back with some additional information.

Thanks,
jrasell and the Nomad team

Thanks,

Combining the docker_id and the container_name would also solve my problem

Thanks,
Lucas

Hi @lssilva,

Chatting to the team, there are no immediate plans to make this configurable. Additionally, any work to perform this would require careful thought as the ID has strict requirements enforced by Consul. Could you please open this request against the Nomad repo as an enhancement, detailing your use case? This will allow the team to better prioritise the community request.

Thanks,
jrasell and the Nomad team