title: Dynamically add key value map to struct
body: <p>I am trying to figure out how I can add the key value pairs of a <code>map[string]string</code> into my prometheus.Labels struct.</p>
  
  <p>If you've got experience with prometheus: I am trying to dynamically add labels and it's values.</p>
  
  <pre><code>labelsMap := make(map[string]string)
  labelsMap["nodepool"] = "default"
  labelsMap["zone"] = "europe-west"
  
  // here I'd like to add my key / value pairs from my map
  containerLabels := prometheus.Labels{
      "node":      "nodename",
      "container": "foo",
      "qos":       "bar",
  }
  requestedContainerCPUCoresGauge.With(containerLabels).Set(containerMetric.RequestedCPUCores)
  </code></pre>
  
  <p><strong>My question:</strong></p>
  
  <p>How can I dynamically add the key/value pairs from my given map <code>labelsMap</code> in my containerLabels?</p>