mozilla / participation-metrics-org

Participation metrics planning repository
4 stars 4 forks source link

The 'Community Structure' analysis uses all of the dashboard information available #177

Closed dicortazar closed 5 years ago

dicortazar commented 6 years ago

When reviewing the Community Structure panel (aka onion analysis) just realized that this is using all of the Git and GitHub information available in the dashboard and not the filtered information for Emerging Technologies.

As the analysis uses some aliases for this, as specified at https://github.com/chaoss/grimoirelab-elk/blob/master/doc/studies.md#onion-study, those alises are broken and do not filter any information.

alpgarcia commented 5 years ago

This is already solved and the alias looks like:

GET _alias/git_onion-src

{
  "git_mozilla_181018_enriched_181024": {
    "aliases": {
      "git_onion-src": {
        "filter": {
          "terms": {
            "origin": [
              "https://github.com/rust-lang/rfcs.git",
              "https://github.com/rust-lang/rust.git",
              "https://github.com/aframevr/aframe.git",
              "https://github.com/servo/servo.git",
              "https://github.com/servo/servo.git",
              "https://github.com/servo/webrender.git",
              "https://github.com/servo/saltfs.git",
              "https://github.com/servo/rust-url.git",
              "https://github.com/servo/gaol.git",
              "https://github.com/servo/rust-mozjs.git",
              "https://github.com/servo/rust-harfbuzz.git",
              "https://github.com/servo/ipc-channel.git",
              "https://github.com/servo/euclid.git",
              "https://github.com/servo/html5ever.git",
              "https://github.com/servo/plane-split.git",
              "https://github.com/servo/gleam.git",
              "https://github.com/servo/core-foundation-rs.git",
              "https://github.com/servo/rust-azure.git",
              "https://github.com/servo/heapsize.git",
              "https://github.com/servo/rust-cssparser.git",
              "https://github.com/servo/app_units.git",
              "https://github.com/servo/rust-smallvec.git",
              "https://github.com/servo/string-cache.git",
              "https://github.com/servo/uluru.git",
              "https://github.com/servo/smallbitvec.git",
              "https://github.com/servo/rust-layers.git",
              "https://github.com/servo/unicode-bidi.git",
              "https://github.com/servo/tendril.git",
              "https://github.com/xiph/rav1e.git",
              "https://github.com/xiph/daala.git",
              "https://github.com/tdaede/image-compare.git",
              "https://aomedia.googlesource.com/aom"
            ]
          }
        }
      }
    }
  }
}