anchor.diff:      source:
         files:
           - /var/log/nginx/app1/access.log
  -    #metrics_override:
  -    #  prefix: "myprefix"
  -    #namespace_label: "vhost"
  +    # metrics_override:
  +    #   prefix: "myprefix"
  +    # namespace_label: "vhost"
       labels:
         app: "application-one"
         environment: "production"
  
positive.code: ----
  
  * `prefix` can be set to `""`, resulting metrics like `http_response_count_total{...}`
  * `namespace_label` can be ommited - so you have full control on metric format
  
  Some details and history: https://github.com/martin-helmich/prometheus-nginxlog-exporter/issues/13[Issue #13]
  
  ### Custom labels pass-through
  Partial case of <<Dynamic-re-labeling>>:
  
  [source,hcl]
  
negative.code: 
  Additional labels can be configured in the configuration file (see below).
  
  `<namespace>` can be omitted or overridden - see <<Namespace-as-labels>> for
  more information.
  
  == Configuration file
  
  