GithubHelp home page GithubHelp logo

Comments (9)

keltia avatar keltia commented on August 11, 2024 1

Right, not the include/exclude tags you can have for probesets. Adding this to the API is not really difficult, changing the UI on atlas a bit more.

from ripe-atlas.

awlx avatar awlx commented on August 11, 2024 1

Nice! Thank you so much.

This really helps me to finish my current automated measurements with Atlas project!

from ripe-atlas.

keltia avatar keltia commented on August 11, 2024 1

Closing this then :)

from ripe-atlas.

keltia avatar keltia commented on August 11, 2024

My documentation may be misleading then because you can include/exclude tags already:

$ atlas -T ipv4 -N 10 ping 8.8.8.8
Measurements created:
15759778

Use the following command to retrieve results in JSON:

  atlas r 

$ atlas r 15759778 | jq .
[
  {
    "af": 4,
    "avg": 2.373305,
    "dst_addr": "8.8.8.8",
    "dst_name": "8.8.8.8",
    "dup": 0,
    "from": "46.182.41.95",
    "fw": 4940,
    "group_id": 15759778,
    "lts": 48,
    "max": 3.89673,
    "min": 1.61028,
    "msm_id": 15759778,
    "msm_name": "Ping",
    "prb_id": 12007,
    "proto": "ICMP",
    "rcvd": 3,
    "result": [
      {
        "rtt": 3.89673
      },
      {
        "rtt": 1.61028
      },
      {
        "rtt": 1.612905
      }
    ],
    "sent": 3,
    "size": 64,
    "src_addr": "192.168.31.153",
    "step": null,
    "stored_timestamp": 1534772351,
    "timestamp": 1534772337,
    "ttl": 121,
    "type": "ping"
  },
...

If you run it in debug mode with -D you see ipv4specified in the tags_include entry in the ProbeSet.

Are you talking of something else?

It was implemented around 2e43065.

from ripe-atlas.

awlx avatar awlx commented on August 11, 2024

We are talking about when creating a measurement it is possible to add a tag to it so it's easier to find.

curl --dump-header - -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{
"definitions": [
{
"target": "test.de",
"af": 4,
"packets": 3,
"size": 48,
"description": "Ping measurement to test.de",
"interval": 240,
"tags": [
"test-tag"
],
"resolve_on_probe": false,
"skip_dns_check": false,
"include_probe_id": false,
"type": "ping"
}
],
"probes": [
{
"type": "area",
"value": "WW",
"requested": 10
}
],
"is_oneoff": false,
}' https://atlas.ripe.net/api/v2/measurements//?key=YOUR_KEY_HERE

See the "test-tag" in the request :).

from ripe-atlas.

keltia avatar keltia commented on August 11, 2024

Done in v0.40 (API 0.5.0) in commit 5196456

See https://atlas.ripe.net/api/v2/measurements/15771119/ for an example.

Please try and comment :)

from ripe-atlas.

awlx avatar awlx commented on August 11, 2024

screen shot 2018-08-22 at 07 20 01
Perfect! Works like a charm :). Thank you very much!

Is it also possible to add the --tags Flag to the measurement search function? It would be really awesome, so we could add new measurements already tagged with all flags we want and afterwards just pull the results.

API docs for this:
https://atlas.ripe.net/docs/api/v2/manual/measurements/measurement-tags.html

 NAME:
   atlas measurements list - lists all measurements

USAGE:
   atlas measurements list [command options] [arguments...]

DESCRIPTION:
   displays all measurements

OPTIONS:
   --country value, -c value  filter on country
   --asn value                filter on asn
   -A, --all                  all measurements even inactive ones
   --is-anchor                select anchor measurements
   -t value, --type value     filter on measurement type

from ripe-atlas.

keltia avatar keltia commented on August 11, 2024

OK, that is two things, first searching for a specific lset of tags and the tags calls. I'll open an issue for the latter and work first on the former :)

from ripe-atlas.

keltia avatar keltia commented on August 11, 2024

Searching on tags is now in v0.41, committed in 65abcea.

Enjoy!

from ripe-atlas.

Related Issues (10)

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.