Instana

Instana

The community for performance and observability professionals to learn, to share ideas, and to connect with others.

 View Only
  • 1.  Create alarm to count Instana agents

    Posted 11/22/23 10:34 AM

    I need to create an alarm to count the agents connected to Instana and be able to validate that the subscription is not oversubscribed by mistake or carelessness



    ------------------------------
    saury granados
    ing
    GBM Corporation
    San José
    506-22843999
    ------------------------------


  • 2.  RE: Create alarm to count Instana agents

    Posted 11/23/23 06:23 AM
    Edited by System Admin 01/21/25 09:37 AM
  • 3.  RE: Create alarm to count Instana agents

    Posted 11/27/23 03:28 PM
    Edited by System Admin 01/21/25 09:37 AM
    In my opinion it is possible but you have to use own script. You can use INSTANA API in order to solve this problem.
     
    1. Use this endpoint .../api/instana/usage/hosts/
    You will get number of hosts APM and INFRA.
     
    2. Next you can compare the number of host with your threshold. 
     
    3. If you cross the threshold, then send custom alarm/event by pushing information to this endpoint:



    ------------------------------
    Łukasz M
    ------------------------------



  • 4.  RE: Create alarm to count Instana agents

    Posted 11/27/23 03:28 PM
    In my opinion it is possible but you have to use own script. You can use INSTANA API in order to solve this problem.
     
    1. Use this endpoint /api/instana/usage/hosts/
    You will get number of hosts APM and INFRA.
     
    2. Next you can compare the number of host with your threshold. 
     
    3. If you cross the threshold, then send custom alarm/event by pushing information to this endpoint:

    You can find more information how to use API on: https://instana.github.io/openapi/ and https://www.ibm.com/docs/en/instana-observability/current?topic=apis-host-agent-rest-api#curl-example

    Example



    ------------------------------
    Lukas
    ------------------------------



  • 5.  RE: Create alarm to count Instana agents

    Posted 01/03/24 02:20 PM

    Nice



    ------------------------------
    James Smith
    ------------------------------