GithubHelp home page GithubHelp logo

Comments (5)

manugarg avatar manugarg commented on May 26, 2024

This should work. @xenofree, is it not working?

from cloudprober.

xenofree avatar xenofree commented on May 26, 2024

This is not working.

For query type I have this kind of issue.

  dns_probe {
    query_type: @target.label.query_type@
    resolved_domain: "@target.label.resolved_domain@"
  }
Error initializing cloudprober. Err: line 67: unexpected byte 0x40
  dns_probe {
    query_type: "@target.label.query_type@"
    resolved_domain: "@target.label.resolved_domain@"
  }
Err: line 67: invalid enum: "@target.label.query_type@"

And resolved_domain don't seems to be evaluated.

error in response ;; opcode: QUERY, status: NXDOMAIN, id: 61782
;; QUESTION SECTION:
;\@target.label.resolved_domain\@.      IN       A

from cloudprober.

manugarg avatar manugarg commented on May 26, 2024

Oops. Sorry, I was wrong. I missed that you were using labels in the probe config. This will not work.

It's going to be hard to implement a generic label replacement mechanism.

The way it works in HTTP probe is:

  • If "relative_url" or "host" is not defined in the probe config, and target has these labels, it automatically uses these labels.

We can do something similar for DNS probe.

from cloudprober.

manugarg avatar manugarg commented on May 26, 2024

@xenofree Please see the announcement here: #679. Active development of this repository is moving to github.com/cloudprober/cloudprober. Unfortunately, we'll have to close all the issues here, and file them again. Can you please do that. Thanks!

from cloudprober.

manugarg avatar manugarg commented on May 26, 2024

Moved here: cloudprober/cloudprober#26.

from cloudprober.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.