Librato composite error: What does: Unable to execute composite: [“error”: “Requested MD data from SD...












1















I want to create an alert that triggers whenever one of the following counter statistics is not zero:



a.b.c.failed
a.b.e.failed


I already use these statistics separately on a dashboard page, but as they occur rarely, I'd like an alert.



It appears I have to make a sum composite so that I can trigger the alert when the sum is above zero. I think the composite would look something like:



sum(series("a.b.*.failed",{}))


However, every attempt I make gives the error:



Unable to execute composite: ["error": "Requested MD data from SD endpoint"]


There is another thread that suggested replacing the {} with "*" (including the quotes). This no longer gives an error, but gives a bizarre result (it's above zero all the time, even though there only very rarely any 'failed' statistics above zero).










share|improve this question





























    1















    I want to create an alert that triggers whenever one of the following counter statistics is not zero:



    a.b.c.failed
    a.b.e.failed


    I already use these statistics separately on a dashboard page, but as they occur rarely, I'd like an alert.



    It appears I have to make a sum composite so that I can trigger the alert when the sum is above zero. I think the composite would look something like:



    sum(series("a.b.*.failed",{}))


    However, every attempt I make gives the error:



    Unable to execute composite: ["error": "Requested MD data from SD endpoint"]


    There is another thread that suggested replacing the {} with "*" (including the quotes). This no longer gives an error, but gives a bizarre result (it's above zero all the time, even though there only very rarely any 'failed' statistics above zero).










    share|improve this question



























      1












      1








      1








      I want to create an alert that triggers whenever one of the following counter statistics is not zero:



      a.b.c.failed
      a.b.e.failed


      I already use these statistics separately on a dashboard page, but as they occur rarely, I'd like an alert.



      It appears I have to make a sum composite so that I can trigger the alert when the sum is above zero. I think the composite would look something like:



      sum(series("a.b.*.failed",{}))


      However, every attempt I make gives the error:



      Unable to execute composite: ["error": "Requested MD data from SD endpoint"]


      There is another thread that suggested replacing the {} with "*" (including the quotes). This no longer gives an error, but gives a bizarre result (it's above zero all the time, even though there only very rarely any 'failed' statistics above zero).










      share|improve this question
















      I want to create an alert that triggers whenever one of the following counter statistics is not zero:



      a.b.c.failed
      a.b.e.failed


      I already use these statistics separately on a dashboard page, but as they occur rarely, I'd like an alert.



      It appears I have to make a sum composite so that I can trigger the alert when the sum is above zero. I think the composite would look something like:



      sum(series("a.b.*.failed",{}))


      However, every attempt I make gives the error:



      Unable to execute composite: ["error": "Requested MD data from SD endpoint"]


      There is another thread that suggested replacing the {} with "*" (including the quotes). This no longer gives an error, but gives a bizarre result (it's above zero all the time, even though there only very rarely any 'failed' statistics above zero).







      librato






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 23 '18 at 19:33







      Neil B.

















      asked Nov 23 '18 at 14:11









      Neil B.Neil B.

      164




      164
























          1 Answer
          1






          active

          oldest

          votes


















          1














          The correct expression for my case is:



          sum(derive(series("a.b.*.failed","*")))


          Using "*" works to select the source.



          Derive gives the change of each statistic instead of the cumulative total (but I'm not sure why the cumulative total was showing up - it is not shown normally for these statistics).



          Sum adds the change of the different statistics.



          I don't understand why {} doesn't work - I think that is related to the mystery of the meaning the error message that uses undocumented terminology (MD and SD endpoints). Librato documentation of their composite statistics function language is very minimal and provides few examples and few explanations of the meaning of terms and technical foundations.






          share|improve this answer
























          • MD refers to the tag-based model of their metrics, whereas SD is the older source-based model. Using {} implies your composite is using tags (or MD), which your account may not support. Here's a link to the older documentation for reference. kb-docs-archive.librato.com/data_processing/composite_metrics/…

            – Kotsu
            Nov 26 '18 at 14:48











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53448242%2flibrato-composite-error-what-does-unable-to-execute-composite-error-requ%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          The correct expression for my case is:



          sum(derive(series("a.b.*.failed","*")))


          Using "*" works to select the source.



          Derive gives the change of each statistic instead of the cumulative total (but I'm not sure why the cumulative total was showing up - it is not shown normally for these statistics).



          Sum adds the change of the different statistics.



          I don't understand why {} doesn't work - I think that is related to the mystery of the meaning the error message that uses undocumented terminology (MD and SD endpoints). Librato documentation of their composite statistics function language is very minimal and provides few examples and few explanations of the meaning of terms and technical foundations.






          share|improve this answer
























          • MD refers to the tag-based model of their metrics, whereas SD is the older source-based model. Using {} implies your composite is using tags (or MD), which your account may not support. Here's a link to the older documentation for reference. kb-docs-archive.librato.com/data_processing/composite_metrics/…

            – Kotsu
            Nov 26 '18 at 14:48
















          1














          The correct expression for my case is:



          sum(derive(series("a.b.*.failed","*")))


          Using "*" works to select the source.



          Derive gives the change of each statistic instead of the cumulative total (but I'm not sure why the cumulative total was showing up - it is not shown normally for these statistics).



          Sum adds the change of the different statistics.



          I don't understand why {} doesn't work - I think that is related to the mystery of the meaning the error message that uses undocumented terminology (MD and SD endpoints). Librato documentation of their composite statistics function language is very minimal and provides few examples and few explanations of the meaning of terms and technical foundations.






          share|improve this answer
























          • MD refers to the tag-based model of their metrics, whereas SD is the older source-based model. Using {} implies your composite is using tags (or MD), which your account may not support. Here's a link to the older documentation for reference. kb-docs-archive.librato.com/data_processing/composite_metrics/…

            – Kotsu
            Nov 26 '18 at 14:48














          1












          1








          1







          The correct expression for my case is:



          sum(derive(series("a.b.*.failed","*")))


          Using "*" works to select the source.



          Derive gives the change of each statistic instead of the cumulative total (but I'm not sure why the cumulative total was showing up - it is not shown normally for these statistics).



          Sum adds the change of the different statistics.



          I don't understand why {} doesn't work - I think that is related to the mystery of the meaning the error message that uses undocumented terminology (MD and SD endpoints). Librato documentation of their composite statistics function language is very minimal and provides few examples and few explanations of the meaning of terms and technical foundations.






          share|improve this answer













          The correct expression for my case is:



          sum(derive(series("a.b.*.failed","*")))


          Using "*" works to select the source.



          Derive gives the change of each statistic instead of the cumulative total (but I'm not sure why the cumulative total was showing up - it is not shown normally for these statistics).



          Sum adds the change of the different statistics.



          I don't understand why {} doesn't work - I think that is related to the mystery of the meaning the error message that uses undocumented terminology (MD and SD endpoints). Librato documentation of their composite statistics function language is very minimal and provides few examples and few explanations of the meaning of terms and technical foundations.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 26 '18 at 14:20









          Neil B.Neil B.

          164




          164













          • MD refers to the tag-based model of their metrics, whereas SD is the older source-based model. Using {} implies your composite is using tags (or MD), which your account may not support. Here's a link to the older documentation for reference. kb-docs-archive.librato.com/data_processing/composite_metrics/…

            – Kotsu
            Nov 26 '18 at 14:48



















          • MD refers to the tag-based model of their metrics, whereas SD is the older source-based model. Using {} implies your composite is using tags (or MD), which your account may not support. Here's a link to the older documentation for reference. kb-docs-archive.librato.com/data_processing/composite_metrics/…

            – Kotsu
            Nov 26 '18 at 14:48

















          MD refers to the tag-based model of their metrics, whereas SD is the older source-based model. Using {} implies your composite is using tags (or MD), which your account may not support. Here's a link to the older documentation for reference. kb-docs-archive.librato.com/data_processing/composite_metrics/…

          – Kotsu
          Nov 26 '18 at 14:48





          MD refers to the tag-based model of their metrics, whereas SD is the older source-based model. Using {} implies your composite is using tags (or MD), which your account may not support. Here's a link to the older documentation for reference. kb-docs-archive.librato.com/data_processing/composite_metrics/…

          – Kotsu
          Nov 26 '18 at 14:48




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53448242%2flibrato-composite-error-what-does-unable-to-execute-composite-error-requ%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Wiesbaden

          Marschland

          Dieringhausen