1. 01 8月, 2017 1 次提交
  2. 18 7月, 2017 3 次提交
  3. 14 7月, 2017 1 次提交
  4. 12 7月, 2017 2 次提交
  5. 11 7月, 2017 1 次提交
  6. 10 7月, 2017 3 次提交
  7. 09 7月, 2017 2 次提交
    • F
      Fixing code style to adhere gofmt · 193dc472
      Fuente, Pablo Andres 提交于
      193dc472
    • F
      Fixing tests for Windows · 902fafb8
      Fuente, Pablo Andres 提交于
      Fixing the config/config_test, the discovery/file/file_test and the
      promql/promql_test tests for Windows. For most of the tests, the fix involved
      correct handling of path separators. In the case of the promql tests, the
      issue was related to the removal of the temporal directories used by the
      storage. The issue is that the RemoveAll() call returns an error when it
      tries to remove a directory which is not empty, which seems to be true due to
      some kind of process that is still running after closing the storage. To fix
      it I added some retries to the remove of the temporal directories.
      Adding tags file from Universal Ctags to .gitignore
      902fafb8
  8. 07 7月, 2017 1 次提交
  9. 06 7月, 2017 2 次提交
  10. 05 7月, 2017 4 次提交
  11. 04 7月, 2017 1 次提交
  12. 23 6月, 2017 2 次提交
    • T
      Merge pull request #2865 from mattbostock/add_marathon_port_ordinal_label · 43075d02
      Tobias Schmidt 提交于
      Marathon SD: Set port index label
      43075d02
    • M
      Marathon SD: Set port index label · ab4d6495
      Matt Bostock 提交于
      The changes [1][] to Marathon service discovery to support multiple
      ports mean that Prometheus now attempts to scrape all ports belonging to
      a Marathon service.
      
      You can use port definition or port mapping labels to filter out which
      ports to scrape but that requires service owners to update their
      Marathon configuration.
      
      To allow for a smoother migration path, add a
      `__meta_marathon_port_index` label, whose value is set to the port's
      sequential index integer. For example, PORT0 has the value `0`, PORT1
      has the value `1`, and so on.
      
      This allows you to support scraping both the first available port (the
      previous behaviour) in addition to ports with a `metrics` label.
      
      For example, here's the relabel configuration we might use with
      this patch:
      
          - action: keep
            source_labels: ['__meta_marathon_port_definition_label_metrics', '__meta_marathon_port_mapping_label_metrics', '__meta_marathon_port_index']
            # Keep if port mapping or definition has a 'metrics' label with any
            # non-empty value, or if no 'metrics' port label exists but this is the
            # service's first available port
            regex: ([^;]+;;[^;]+|;[^;]+;[^;]+|;;0)
      
      This assumes that the Marathon API returns the ports in sorted order
      (matching PORT0, PORT1, etc), which it appears that it does.
      
      [1]: https://github.com/prometheus/prometheus/pull/2506
      ab4d6495
  13. 20 6月, 2017 1 次提交
  14. 17 6月, 2017 1 次提交
  15. 16 6月, 2017 3 次提交
  16. 12 6月, 2017 2 次提交
  17. 10 6月, 2017 1 次提交
  18. 09 6月, 2017 1 次提交
  19. 07 6月, 2017 5 次提交
  20. 06 6月, 2017 1 次提交
  21. 02 6月, 2017 2 次提交
    • C
      Openstack Service Discovery (#2701) · 8f781e41
      Christian Groschupp 提交于
      * Add openstack service discovery.
      
      * Add gophercloud code for openstack service discovery.
      
      * first changes for juliusv comments.
      
      * add gophercloud code for floatingip.
      
      * Add tests to openstack sd.
      
      * Add testify suite vendor files.
      
      * add copyright and make changes for code climate.
      
      * Fixed typos in provider openstack.
      
      * Renamed tenant to project in openstack sd.
      
      * Change type of password to Secret in openstack sd.
      8f781e41
    • R
      Hide consul token on UI. (#2797) · dbe2eb2a
      Roman Vynar 提交于
      dbe2eb2a