title: Access CronWorkflow name for metrics labels
body: <p>I have a CronWorkflow that sends the following metric:</p>
  <pre><code>apiVersion: argoproj.io/v1alpha1
  kind: CronWorkflow
  metadata:
    name: my-cron-wf
  spec:
    schedule: &quot;0 * * * *&quot;
    suspend: false
    workflowSpec:
      metrics:
        prometheus:
          - name: wf_exec_duration_gauge
            help: &quot;Duration gauge by workflow name and status&quot;
            labels:
              - key: name
                value: my-cron-wf
              - key: status
                value: &quot;{{workflow.status}}&quot;
            gauge:
              value: &quot;{{workflow.duration}}&quot;
  </code></pre>
  <p>I would like to populate the metric's label name with the CronWorkflow name using a variable in order to avoid copying it but I didn't find a variable for it.
  I tried to use <code>{{workflow.name}}</code> but it equals to the generated workflow name and not to the desired CronWorkflow name.</p>
  <p>I use <em>Kustomize</em> to manage argo workflows resources so if there is a <em>kustomize-way</em> to achieve this it would be great as well.</p>