title: How do I use labels in big query queries to track cost?
body: <p>Is it possible to track the cost of bigquery queries using the <code>configuration.labels</code> attribute on a query request? I have specified some labels and I do find it in the job definition as you can see here:</p>
  
  <pre><code>{
    "configuration": {
      "labels": {
        "label1": "tomas",
        "label2": "yolo"
      },
      "query": {
        "allowLargeResults": false,
        "createDisposition": "CREATE_IF_NEEDED",
        "destinationTable": {
          "datasetId": "dataset",
          "projectId": "project name",
          "tableId": "label "
        },
        "priority": "INTERACTIVE",
        "query": "a select query",
        "useLegacySql": false,
        "writeDisposition": "WRITE_TRUNCATE"
  ...
  }
  </code></pre>
  
  <p>I have also enabled billing export under billing, but when I look at the exported data I can’t find my labels.</p>
  
  <p>Labeling works fine when applied to dataset and tables, but I can't get it to work with queries. Are these labels for queries something else and doesn't show up in the billing?</p>