Skip to content

Conversation

trouaux
Copy link

@trouaux trouaux commented May 28, 2025

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

  • Updated thanos query examples in service-discovery docs to reflect deprecated --store and --store.sd-files flags
  • Update legacy metrics in example alerts
  • welcome.md url update

Signed-off-by: trouaux <[email protected]>
Signed-off-by: trouaux <[email protected]>
Signed-off-by: trouaux <[email protected]>
@trouaux trouaux requested a review from MichaHoffmann May 30, 2025 14:03
@trouaux
Copy link
Author

trouaux commented Jun 16, 2025

@MichaHoffmann can you have a second look ?

@trouaux
Copy link
Author

trouaux commented Jun 25, 2025

@GiedriusS can I ask you for a review here

Copy link
Member

@saswatamcode saswatamcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, some comments

'lookups {{job}}'
)
)
.addPanel(
g.panel('Errors', 'Shows ratio of failures compared to the total number of executed DNS lookups.') +
g.qpsErrTotalPanel(
'thanos_query_store_apis_dns_failures_total{%s}' % thanos.query.dashboard.selector,
'thanos_query_store_apis_dns_lookups_total{%s}' % thanos.query.dashboard.selector,
'thanos_query_endpoints_dns_failures_total{%s}' % thanos.query.dashboard.selector,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These can be endpoints or endpoint_groups right? Might need to show both in promql

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added alerts and dashboard examples for group dns

@@ -73,27 +80,27 @@ To use DNS SD, just add one of the following prefixes to the domain name in your
* `dns+` - the domain name after this prefix will be looked up as an A/AAAA query. *A port is required for this query type*. An example using this lookup with a static flag:

```
--store=dns+stores.thanos.mycompany.org:9090
--endpoint.sd-config=endpoints: [{address: "dns+stores.thanos.mycompany.org:9090"}]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm maybe this should be quotes.

Also the value doesn't seem like valid YAML to me

Copy link
Author

@trouaux trouaux Jul 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this works in k8s, but indeed needs quote otherwise

    spec:
      containers:
      - args:
        - query
        - '--endpoint.sd-config=endpoints: [{address: ''prometheus-operated:10901''}]'

@trouaux trouaux requested a review from saswatamcode July 28, 2025 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants