Skip to content

0.3.8 / 2024-05-20

Latest
Compare
Choose a tag to compare
@peekjef72 peekjef72 released this 20 May 09:52
  • fixed minor bug with basic auth, remove unused vars ...
  • fixed typos.
  • reorganized contribs dirs

BREAKING CHANGES

  • rename attribute "auth_mode" to auth_config in query_action and target definition:

    before:

    targets:
      # default target is used as a pattern for exporter queries with target name not defined locally.
      - name: default
        scheme: https
        host: set_later
    =>    auth_mode:
          # mode: basic|token|[anything else:=> user defined login script]
          mode: script
          user: usrNetScalerSupervision
          password: "/encrypted/base64_encrypted_password_by_passwd_crypt_cmd"
        collectors:
          - ~.*_metrics

    now:

    targets:
      # default target is used as a pattern for exporter queries with target name not defined locally.
      - name: default
        scheme: https
        host: set_later
        auth_name: prometheus_encrypted
        auth_config:
          # mode: basic|token|[anything else:=> user defined login script]
          mode: script
          user: usrNetScalerSupervision
          password: "/encrypted/base64_encrypted_password_by_passwd_crypt_cmd"
        collectors:
          - ~.*_metrics
  • add POST /reload and /loglevel entry points to respectively do a reloadConfig and increase loglevel.

  • build a specific windows code version without SIGUSR2 signal (used for loglevel cycling).