Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9948

Add a way to configure granularity of metrics for http connections

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4, 7.0
    • Component/s: metrics
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      Currently, the http connections made via HttpShardHandler and UpdateShardHandler collect metrics per query-less url and method. This is very flexible but it can also create a lot of metrics on large clusters.

      1. SOLR-9948.patch
        18 kB
        Shalin Shekhar Mangar

        Activity

        Hide
        shalinmangar Shalin Shekhar Mangar added a comment -

        Here's a patch for master. It allows one to configure "metricNameStrategy" in both http shard handler and update shard handler sections of solr.xml with three allowed values ("queryLessURLAndMethod", "hostAndMethod", "methodOnly"). The default is still queryLessURLAndMethod.

        Show
        shalinmangar Shalin Shekhar Mangar added a comment - Here's a patch for master. It allows one to configure "metricNameStrategy" in both http shard handler and update shard handler sections of solr.xml with three allowed values ("queryLessURLAndMethod", "hostAndMethod", "methodOnly"). The default is still queryLessURLAndMethod.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit d2664b100463ada22162d53aad1c6d306d2cc9c1 in lucene-solr's branch refs/heads/master from Shalin Shekhar Mangar
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d2664b1 ]

        SOLR-9948: Add a way to configure granularity of metrics for http connections

        Show
        jira-bot ASF subversion and git services added a comment - Commit d2664b100463ada22162d53aad1c6d306d2cc9c1 in lucene-solr's branch refs/heads/master from Shalin Shekhar Mangar [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=d2664b1 ] SOLR-9948 : Add a way to configure granularity of metrics for http connections
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit ca12eaa555dc9b6682d19eb637811a4ac6d27751 in lucene-solr's branch refs/heads/branch_6x from Shalin Shekhar Mangar
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ca12eaa ]

        SOLR-9948: Add a way to configure granularity of metrics for http connections

        (cherry picked from commit d2664b100463ada22162d53aad1c6d306d2cc9c1)

        Show
        jira-bot ASF subversion and git services added a comment - Commit ca12eaa555dc9b6682d19eb637811a4ac6d27751 in lucene-solr's branch refs/heads/branch_6x from Shalin Shekhar Mangar [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ca12eaa ] SOLR-9948 : Add a way to configure granularity of metrics for http connections (cherry picked from commit d2664b100463ada22162d53aad1c6d306d2cc9c1)

          People

          • Assignee:
            shalinmangar Shalin Shekhar Mangar
            Reporter:
            shalinmangar Shalin Shekhar Mangar
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development