Skip to content

Docs: Dual-stack IP ping-example #1264

Closed

Description

@NiceRath

It would make it easier for users if there would be an example for how to configure dual-stack logic in the docs.
Also the usage of 'targets.endpoints' for 'named target metrics' is not that easily found. Maybe it would make sense to add it?

# https://cloudprober.org/docs/config/latest/probes/#cloudprober_probes_ProbeDef
probe:
  - name: 'net4'
    type: 'PING'
    latency_unit: 'ms'
    ip_version: 'IPV4'
    targets:
      hostnames: '192.168.10.10,192.168.10.11'
      # for named metric-endpoints like 'total{ptype="ping",probe="net4",dst="serverA"}'
      # endpoint:
      #   - name: 'serverA'
      #     ip: '192.168.10.10'
      #   - name: 'serverB'
      #     ip: '192.168.10.11'

  - name: 'net6'
    type: 'PING'
    latency_unit: 'ms'
    ip_version: 'IPV6'
    targets:
      hostnames: '2000:beef::a:1,2000:beef::b:1'
      # endpoint:
      #   - name: 'serverA'
      #     ip: '2000:beef::a:1'
      #   - name: 'serverB'
      #     ip: '2000:beef::b:1'

Activity

  1. added
    enhancement
    on Mar 17, 2026
  2. changed the title [-]Docs: Dual-stack ping-example[/-] [+]Docs: Dual-stack IP ping-example[/+] on Mar 17, 2026
  3. manugarg commented on Mar 17, 2026

    @manugarg
    Contributor

    I thought targets are mentioned in good details here:
    https://cloudprober.org/docs/how-to/targets/#static-targets

    Regarding the dual-stack config, that's a good idea. I've been working on a doc on common config options. Maybe I should add it there.

  4. added a commit that references this issue on Aug 19, 2026
    b5a4ead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions