Skip to content

Releases

Chart 2.1.0

Choose a tag to compare

@github-actions github-actions released this 09 Nov 06:40
54b9bd6

What changed for you

  • Deploys exporter 2.1.0: read its ### What changed for you before
    upgrading. The image now carries every request type, and some label
    values a target's URL gave are now <redacted>, which makes new series.
  • Chart: Chart.yaml's description names every source the image reads, and
    the README no longer tells you to build an image of your own for the
    s3file, redis, tcp, ldap and sshexec collectors; its ICMP and
    SNMP collectors section shows the podSecurityContext.sysctls an icmp
    collector may need
    (ICMP and SNMP collectors).

New

  • The chart's preStop and allocator.preStop set the exporter's and the
    allocator's container lifecycle.preStop hook, one of exec, httpGet
    and sleep; a sleep's seconds are added to the grace period the chart
    renders and requires. allocator.terminationGracePeriodSeconds sets the
    allocator pods' grace period, which must cover its peers' shutdown delay
    and its exit (Shutting down).
  • Chart: kubernetesAccess.extraRules adds RBAC rules of your own, with
    their verbs, to the exporter's Role or ClusterRole; * and the core
    group's secrets need allowBroadExtraRules
    (Kubernetes collectors).
  • The chart's allocator.balanceFactor sets the allocator's
    --allocation.balance-factor, from 1 to 10 with at most three decimals;
    empty keeps the allocator's 1.25
    (chart README).
  • The chart runs allocator.replicas allocator pods, 2 by default, with a
    discovery source too, as peers of the allocator's headless Service, rolled
    out one at a time, where it ran one pod and refused more.
  • The chart's allocator.heartbeatInterval sets the allocator's
    --heartbeat.interval, and the allocator Deployment's minReadySeconds
    is max(allocator.settle, 2m) plus it, so a new allocator pod counts as
    available only once its first member list has formed and reached the
    exporter pods, also during a rollout that shortens the interval, whose
    old value the chart cannot know.

Exporter v2.1.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 21:19
63eda7f

What changed for you

  • The default build and the published image carry every request type:
    s3file, redis, tcp, ldap and sshexec are no longer opt-in, and
    the new icmp and snmp are in them too, so their collectors run on the
    image as it is, and a build that names one in OPT_IN_REQUEST_TYPES now
    fails, saying the type is in every build: leave the variable empty. The
    binary is some 7 MB larger, the AWS SDK's S3 client most of it; a build
    that must not carry a type leaves it out with REQUEST_TYPES
    (Choosing request types at build time).
  • The static target file's concurrency slots are shared between its
    collectors: a collector whose targets hang can no longer hold every slot
    and leave the others' targets skipped. Beyond its share, concurrency
    divided by the collectors, a collector leaves a slot free for each other
    collector holding none, half the slots at most
    (Static targets).
  • A dns collector asks its question with a client of its own rather than
    Go's resolver. A SERVFAIL, REFUSED or other response code is now the
    document's rcode rather than a failed scrape, so a rule that relied on
    the failure reads .rcode; /etc/hosts is no longer read, its names
    asked of the server like any other; and each answer has a ttl
    (The question).
  • A kubernetes collector lists its namespaces at once, four at a time,
    rather than one after another; the document keeps them in the order
    namespaces names them. Its requests, and the allocator's listings of
    EndpointSlices, carry the User-Agent
    prometheus-universal-exporter/<version> (pue-allocator/<version>)
    in place of Go's.
  • A kubernetes collector of the core group's secrets is refused whole
    still, but loads with metadata_only: true
    (Secrets).
  • The debug page's series and OTLP tables sort text as the status pages'
    do, the numbers in it by their value and a letter's case no matter.
  • A sql collector with driver: sqlserver runs its statement in a
    transaction that is rolled back after it, with SET LOCK_TIMEOUT set to
    the scrape's time left; one with driver: mysql sets
    max_execution_time (MySQL 5.7.8 and later) or max_statement_time
    (MariaDB 10.1.1 and later) to it, in its read-only transaction, after
    asking the server's version once on each connection. A statement that
    cannot run in a transaction, or that the server now ends at that limit,
    fails where it ran before; one the limit ends fails as the scrape's
    deadline (Databases over SQL).
  • A label built from $url, the static targets endpoint's target label
    and the OTLP target attribute show <redacted> where they showed the
    value of a query parameter with code, ticket, sid, otp or hmac
    as a word of its name (code, country_code, promo_code, user_sid),
    and of a path parameter whose name reads as a credential's
    (;jsessionid=, ;sid=, after ; or %3B). A target or a URL with one
    makes a new series, and the old one goes stale: adjust the queries,
    recording rules and alerts that matched the old values. Where the query
    does not matter, keep a label to the path with
    $url | split("?")[0] | split(";")[0]
    (Logging).
  • The status page writes a duration as Go does with every unit that is zero
    left out: an interval of 1m, an age of 35m and a threshold of 2h
    where it wrote 1m0s, 35m0s and 2h0m0s. The JSON keeps Go's form
    and its seconds (Status page).
  • pue-allocator --settle takes at most 1h, and the chart's
    allocator.settle fails rendering beyond it, where any duration was
    taken: the targets of a replica gone without a word stay with it,
    unscraped, for the settle time after its member TTL. An allocator started
    with a longer settle time exits 2; set 1h or less
    (Members and allocation).
  • The target allocator bounds each member's load at
    --allocation.balance-factor, 1.25 by default, times its fair share, and
    places static and probe targets in one pass: with a few targets a member,
    some that rendezvous hashing put on a member already over its bound go to
    another, and the targets of one shard key, static or probe, stay on one
    member. With many targets a member the bound seldom binds and nothing
    moves: a thousand over five members are placed as before, every one. Give
    --allocation.balance-factor=10 for hashing alone, for up to 10 members
    (Weights and capacity).
  • A collector_files entry of the allocator's configuration that would
    match allocation.yaml, such as a*.yaml, is refused at load, as one
    matching static-targets.yaml is: the bundle may carry a file of that
    name. Narrow the entry, for example to a directory of collector files.

New

  • An oauth2 login takes grant_type: refresh_token with a
    refresh_token_file: the exporter trades a user's refresh token for an
    access token, so the Gmail API and other Google and Microsoft APIs that
    act for a user can be scraped. client_secret_file is optional with it,
    for a public client, and a refresh token the endpoint rotates is used
    until the file changes
    (A user's refresh token).
  • An snmp request type reads SNMP agents, as snmp_exporter does:
    get reads objects one by one and walk walks tables whole, each by a
    name of the collector's and its numeric identifier, the columns of a
    table merged into rows by their index, with no MIB read. It speaks v1,
    v2c and v3, v3 with every security level, HMAC of MD5, SHA and SHA-2,
    and DES, AES-128 and both ways of AES-192 and AES-256, and needs nothing
    outside the standard library. request_timeout and retries set how
    long each request waits and how many times it is sent again, and a
    static target may set its own, beside its own community or v3 user
    (SNMP agents).
  • A tcp collector checks that a port takes a connection with
    connect_only: true: it dials, makes the TLS handshake with a tls
    block, and closes, sending and reading nothing, and answers a JSON
    document of open, the address reached and how long the connection and
    the handshake took. A port that refuses, does not answer within
    connect_timeout or fails the handshake is "open": false with the
    reason, not a failed scrape, so the series is 0 or 1
    (Checking that a port is open).
  • With ports: [22, 443, 5432] such a collector dials each port of the
    target's host at once, so one target covers a host; docs/TCP.md shows it
    beside an icmp ping of the same host
    (Several ports of a host).
  • docs/KUBERNETES.md has an example of each node's conditions, disk
    pressure among them, and its allocatable against its capacity
    (Examples).
  • docs/GRPC.md shows the health service's List, every service's status in
    one call, built in as Check is
    (Health checks).
  • An ldap collector binds as its TLS client certificate with
    sasl_external: true (SASL EXTERNAL), with no password file
    (A client certificate).
  • An s3file collector's checksums sets how an object's checksum is
    checked: when_present, the default, required or off
    (Checksums).
  • A dns collector asks for a name's DNSSEC signatures, record_type: RRSIG, each with its expiry and the seconds it has left, and asks over
    TLS with transport: tls (RFC 7858)
    (DNSSEC signatures,
    DNS over TLS).
  • Exported traces time the connections of tcp, tlscert, ldap,
    redis, sshexec, sshfile and grpc requests, as an http request's
    are: connection.dns, connection.connect and connection.tls, or
    connection.handshake for SSH, under the request's span
    (Traces of slow requests).
  • A dns collector answers each record's TTL, the response code as
    rcode, the answer's AA, RA and AD bits, and records of SOA, CAA and
    DNSKEY (The document).
  • A grpc collector calls a server streaming method with
    stream_messages, reading its stream until the server ends it or that many
    messages have come, the health service's Watch among them
    (Server streaming).
  • A redis collector reads the primary a Sentinel names with sentinel:
    its target is the Sentinel, asked which server is the primary of
    sentinel.master now, and the document's sentinel holds what the
    Sentinel knows of it, its flags, replicas and quorum
    (Sentinel).
  • A tcp collector speaks a conversation with steps, each a send and
    the until its answer matches, as SMTP's EHLO then QUIT
    (A conversation).
  • An ldap collector follows an attribute answered in ranges, as Active
    Directory answers a large group's member;range=0-1499, and holds every
    value under member.
  • An ntp collector sends a server samples requests, sample_interval
    apart, and answers the one of the least delay with the jitter of their
    offsets; a target may name several servers by commas, compared by the
    median and spread of their offsets
    (Several samples,
    Several servers).
  • An icmp collector pings every address of a name with all_addresses,
    each in the document's addresses and the top of all of them together
    (Every address)...
Read more

Exporter v2.0.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 07:21
858a984

What changed for you

  • The self-metrics have a histogram more of each collector, always:
    http_exporter_probe_duration_seconds{collector,kind}, 16 more lines of
    the text format a collector, and 16 more for one a static target names.
  • A Prometheus that asks for its protobuf format first, as it does when it
    scrapes native histograms, gets the self-metrics in protobuf, with
    http_exporter_collector_scrape_duration_seconds carrying native buckets
    beside its classic ones; it got OpenMetrics before. Every other scraper
    gets what it got. web.self_metrics.native_histograms: false answers it in
    OpenMetrics again.
  • Fewer Python workers stay idle, for less long: after a burst of scrapes one
    worker of each collector's script stays idle, rather than four, and an idle
    worker stops after two minutes unused, rather than five. Each is a CPython
    process of about 11 MB, 17 MB with lxml, so ten Python collectors keep
    about 110 to 170 MB in idle workers rather than 440 to 680 MB. Two minutes
    is twice a scrape interval of a minute, so a collector scraped every minute
    or more often still keeps its worker warm. --python.max-idle-workers and
    --python.idle-timeout bring the old behaviour back (4 and 5m).
  • The go_ and process_ resource metrics are published on the
    self-metrics endpoint by default: reading them no longer stops the world,
    because the memory statistics now come from runtime/metrics and the
    garbage collection pauses from runtime/debug.ReadGCStats instead of
    runtime.ReadMemStats. Set web.self_metrics.resource_metrics_enabled: false to leave them out. go_gc_duration_seconds now carries the
    quantiles 0, 0.25, 0.5, 0.75 and 1 beside its _sum and _count, as in
    client_golang. The series names, types and help texts are as before.
  • The JSON schemas refuse more of what the exporter refuses, so an editor now
    marks it: durations and sizes under the exporter's least (script_timeout
    under 1ms, max_script_memory under 32MiB, intervals under 1s, a zero
    failure_backoff duration), a client certificate without its key or a key
    without its certificate, two credentials in one request, a pagination key of
    another paging type, grpc descriptor files beside the wrong source, and a
    python transform without a script.
  • A key that takes one of a few words takes them only as the schemas write
    them: request.type, transform.type, decoder.type, the
    error_handling policies and a rule's error_mode,
    request.pagination.type, request.descriptors and response.graphite's
    value and invalid_lines in lower case and without blanks around them
    (log, not LOG; type: http, not HTTP), and request.method in upper
    case or lower case (GET or get, not Get). A configuration that writes
    one otherwise is refused, naming the words taken: write them in lower case.
    The static target file's schema now takes a method in lower case, as the
    exporter does.
  • An entry of accept_status or retry.statuses written in quotes is taken
    only as the schemas take it: a status's three digits ("503") or a class
    ("5xx"). Text with a sign, leading zeros or blanks, such as "+503",
    "0503" or " 503 ", is refused when the configuration loads; write
    503. An unquoted number is read as before.
  • The schemas refuse an entry of a grpc collector's or target's
    retry.codes and accept_codes that names no gRPC status code, or OK,
    as the exporter does, so an editor now marks it.
  • starttls on an ldap collector is refused as a key ldap does not take,
    pointing to start_tls: true; start_tls on a tcp or tlscert collector
    points to starttls and its protocols.
  • The image declares a HEALTHCHECK, so Docker shows the container
    healthy while the exporter is ready. A container started with another
    --web.listen-address needs --health-cmd with it, and the target
    allocator run from the image needs --no-healthcheck.
  • The debug page calls the collector written on it the playground, and runs
    only when Run is pressed: Run as you type is gone. Probe a target
    probes through the configured collector chosen, or, with the playground,
    through the one it was copied from with Edit a copy; the Fetch through
    list is gone, and a playground copied from none cannot fetch. Scrape a
    static target
    is a list of the static targets of that same collector,
    each shown with its address, credentials withheld, in place of a name to
    type, and follows reloads; /debug?static_target=<name> chooses the
    target and its collector. The pasted body starts empty with a configured
    collector, the example's answer only with the example.
  • The exporter's pages show the project's logo as their browser-tab icon.
  • The status page shows a long error — and a long target, labels or probe
    parameters — as its first 160 characters or three lines with Show all,
    which opens the whole text in a box over the page; the page does not
    refresh while the box is open. On the debug page Run stands level with
    the timeout box beside it, and the status page's Refresh button and
    auto-refresh selector are one height, centred on one line.
  • A SIGTERM or SIGINT no longer waits for the static target scrapes in
    flight: they are cut short at once, logging nothing above debug, so a
    target that does not answer no longer holds Ctrl-C up for all of
    --web.shutdown-timeout. The last OTLP export goes without what those
    scrapes would have queued. Probes in progress are still waited for, and the
    log now says how many, for how long at most, what is still awaited every 5
    seconds, and what it gave up on when the timeout runs out. A second signal
    logs second signal: exiting now, … before the process ends by it, as
    before. The line the shutdown begins with now reads
    shutting down: waiting for 1 probe in progress, at most 15s; …, or
    shutting down: no probes in progress; exiting.
  • The debug page no longer keeps the playground, its body or the collector
    it was copied from in the browser between visits. A collector run on what
    another collector fetches, through request_from or a static target,
    must now be of that collector's request type (400 otherwise), where it
    had to be an http collector before.
  • The debug page's Test the metrics endpoint, Test the logs endpoint and
    Test the traces endpoint are in a panel of their own below Output,
    OTLP endpoints, there before anything has run, rather than at the
    bottom of the OTLP tab.
  • The OTLP export writes aggregationTemporality as the number 2 where it
    wrote the name AGGREGATION_TEMPORALITY_CUMULATIVE: the OTLP/JSON encoding
    requires an enum's number, which every receiver accepts. A receiver or a
    test that matched the request body's text sees the number now.

New

  • jq and yq rules of http and graphite collectors read $timings, how
    long the request's phases took in seconds — dns, connect, tls,
    first_byte and total — measured on the request that was answered,
    with null for a phase it did not have, such as the handshake over plain
    HTTP or the connection a kept one spared; a Python script has the same as
    response.timings, and a debug probe's report shows it under the status.
    Every jq and yq program has the variable, null for other request types
    (Timings, TLS and the final URL).
  • jq and yq rules of http and graphite collectors read $tls, the TLS
    connection the answer came on — tls_version, cipher_suite, server_name,
    verified, and the target certificate's not_before, not_after,
    subject_cn and issuer_cn — so an uptime check alerts on the
    certificate's expiry without a tlscert collector beside it; null over
    plain HTTP. A Python script has it as response.tls
    (Timings, TLS and the final URL).
  • Uptime probes puts an uptime check of
    HTTP and HTTPS sites together, as blackbox_exporter's http prober makes
    it: one collector, shipped as configs/config.uptime.example.yaml, the
    Prometheus job, what each series means, and a table of blackbox_exporter's
    series with what answers each here. The collector connects anew on every
    probe (new_connection), so a site's new address or a certificate that
    no longer verifies is seen at once, as blackbox_exporter sees it.
  • request.new_connection: true on an http or graphite collector sends
    every request — each retry and each followed redirect too — on a
    connection of its own, closed after its answer, so each looks the name up,
    connects and verifies the certificate the target serves now, and
    $timings has its lookup, connection and handshake; a probe parameter and
    a static target set it too
    (Connections).
  • jq and yq rules of http and graphite collectors read $url, where the
    request went after its redirects, without its userinfo and with credential
    query values <redacted> as a target in a log line, and $redirects, how
    many redirects were followed; a Python script has them as response.url
    and response.redirects
    (Timings, TLS and the final URL).
  • report_failures: true on a collector answers every probe of it 200
    with an exposition, never 502: http_exporter_probe_success 1 or 0,
    http_exporter_probe_elapsed_seconds, and on a failure
    http_exporter_probe_failed_stage{stage} naming the stage, panic for a
    probe that panicked, with nothing of the error. With method: HEAD, accept_status: [any] and
    decoder.type: none it is an uptime check that alerts on a value, as
    blackbox_exporter's probe_success. Failures are logged and counted in
    the self-metrics as before, and a probe error_handling carried on past
    a failed stag...
Read more

Chart 2.0.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 08:18
26583a8

What changed for you

  • Deploys exporter 2.0.0, a major release: read its
    ### What changed for you before upgrading, since configuration that
    1.8.0 took may now be refused when it loads, such as an upper-case
    request.type or a quoted accept_status entry like "+503".

New

  • The chart's healthProbes.mode: exec runs the liveness and readiness
    probes as the exporter's --healthcheck in the container instead of HTTP
    GETs from the kubelet.
  • The chart's probes renders a Prometheus Operator Probe for each entry,
    as blackbox_exporter's uptime checks are declared: its prober the
    exporter's Service at /probe, the entry's collector sent as the
    collector parameter, and its targets, a list of URLs, or the Ingresses
    its ingress selects, as the targets. Empty by default, so nothing is
    rendered and the Probe CRD is needed only with an entry.
  • server.pythonMaxIdleWorkers and server.pythonIdleTimeout set the
    exporter's --python.max-idle-workers and --python.idle-timeout,
    server.debugDangerous its --web.debug.dangerous, and
    server.statusRefresh its --web.status-refresh; each is left out when
    empty or false, so the exporter's default applies.

Exporter v1.8.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 08:49
81ee91a

What's Changed

Full Changelog: chart/prometheus-universal-exporter-1.7.0...exporter/prometheus-universal-exporter-v1.8.0

Chart 1.8.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 08:59
f62d509

What's Changed

  • chart: 1.8.0, deploying exporter 1.8.0 by @eenchev in #58

Full Changelog: exporter/prometheus-universal-exporter-v1.8.0...chart/prometheus-universal-exporter-1.8.0

Exporter v1.7.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 06:48
b6c133f

What's Changed

Full Changelog: chart/prometheus-universal-exporter-1.6.0...exporter/prometheus-universal-exporter-v1.7.0

Chart 1.7.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 07:07
c7e8614

What's Changed

  • chart: release 1.7.0, deploying exporter 1.7.0 by @eenchev in #38

Full Changelog: exporter/prometheus-universal-exporter-v1.7.0...chart/prometheus-universal-exporter-1.7.0

Exporter v1.6.0

Choose a tag to compare

What's Changed

  • deps: bump the go-modules group with 2 updates by @dependabot[bot] in #16
  • deps: update the versions pinned in the Dockerfile by @github-actions[bot] in #17

New Contributors

  • @github-actions[bot] made their first contribution in #17

Full Changelog: chart/prometheus-universal-exporter-1.5.0...exporter/prometheus-universal-exporter-v1.6.0

Chart 1.6.0

Choose a tag to compare