Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    After that you install the inspectIT UI on your Desktop machine.
    But where do I get inspectIT UI to download from . I know it is bit dumb question
    Alexander Wert
    Hi @ChandTurakhia_twitter , do you mean the “old” inspectIT or do you mean inspectIT Ocelot?
    inspectIT Ocelot? would be better
    Alexander Wert
    The original inspectIT has a Rhich Client-based UI. The new Version of inspectIT (inspectIT Ocelot) much better integrates with existing monitoring tools and UIs like Grafana for metrics or Jaeger, Zipkin for tracing
    I will go with second now
    Alexander Wert
    No, this one is the old inspectIT
    Documentation on inspectIT Ocelot is here: https://inspectit.github.io/inspectit-ocelot/docs/doc1
    and the gitHub repo with the releases is available here: https://github.com/inspectIT/inspectit-ocelot
    Can I ask dumber question : Where to buy lowest cost support. Free help is unacceptable. I like your product and would mostly use in big project if everything goes well
    You can direct me to your sales guy too. if the question is uncomfortable
    I can call him
    Alexander Wert
    We also offer suppot for inspectIT and a corresponding open source monitoring solution. If you have concrete demand / questions let’s just have a call.
    Its is concreate demand
    India Direct taxes project to process 10million taxes per day
    number plz
    I will call
    Alexander Wert
    @ChandTurakhia_twitter see private message on Gitter that I wrote to you, theres my mail and phone number
    how to start UI for OLD inspectIT
    Can you point me to DOCs of OLD inspectIT
    Marius Oehler
    Hey @ChandTurakhia_twitter
    here is a link to the old inspectIT documentation: https://inspectit-performance.atlassian.net/wiki/spaces/DOC18/overview
    Do you have GIT HUB for DVD Store
    oot@localhost spring-petclinic-microservices]# ./start_all_with_inspectIT.sh /opt/inspectit/CMR/inspectit-cmr.jar
    Agent jar not found. Specify the path to the inspectIT agent
    Example: ./start_all_with_inspectIT.sh /home/user/inspectIT/agent
    Optionally you can also specify the CMR_HOST as second arugment
    Example: ./start_all_with_inspectIT.sh /home/user/inspectIT/agent localhost
    In case you have not installed inspectIT go to https://github.com/inspectIT/inspectIT/releases
    Got the agent working
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project spring-petclinic-admin-server: Compilation failure: Compilation failure:
    [ERROR] /root/git/spring-petclinic-microservices/spring-petclinic-admin-server/src/main/java/org/springframework/samples/petclinic/admin/SpringBootAdminApplication.java:[18,40] package de.codecentric.boot.admin.config does not exist
    [ERROR] /root/git/spring-petclinic-microservices/spring-petclinic-admin-server/src/main/java/org/springframework/samples/petclinic/admin/SpringBootAdminApplication.java:[19,32] package org.springframework.boot does not exist
    [ERROR] /root/git/spring-petclinic-microservices/spring-petclinic-admin-server/src/main/java/org/springframework/samples/petclinic/admin/SpringBootAdminApplication.java:[20,46] package org.springframework.boot.autoconfigure does not exist
    [ERROR] /root/git/spring-petclinic-microservices/spring-petclinic-admin-server/src/main/java/org/springframework/samples/petclinic/admin/SpringBootAdminApplication.java:[21,50] package org.springframework.cloud.client.discovery does not exist
    [ERROR] /root/git/spring-petclinic-microservices/spring-petclinic-admin-server/src/main/java/org/springframework/samples/petclinic/admin/SpringBootAdminApplication.java:[22,46] package org.springframework.context.annotation does not exist
    [ERROR] /root/git/spring-petclinic-microservices/spring-petclinic-admin-server/src/main/java/org/springframework/samples/petclinic/admin/SpringBootAdminApplication.java:[24,2] cannot find symbol
    [ERROR] symbol: class Configuration
    [ERROR] /root/git/spring-petclinic-microservices/spring-petclinic-admin-server/src/main/java/org/springframework/samples/petclinic/admin/SpringBootAdminApplication.java:[25,2] cannot find symbol
    [ERROR] symbol: class EnableAutoConfiguration
    [ERROR] /root/git/spring-petclinic-microservices/spring-petclinic-admin-server/src/main/java/org/springframework/samples/petclinic/admin/SpringBootAdminApplication.java:[26,2] cannot find symbol
    [ERROR] symbol: class EnableAdminServer
    [ERROR] /root/git/spring-petclinic-microservices/spring-petclinic-admin-server/src/main/java/org/springframework/samples/petclinic/admin/SpringBootAdminApplication.java:[27,2] cannot find symbol
    [ERROR] symbol: class EnableDiscoveryClient
    [ERROR] /root/git/spring-petclinic-microservices/spring-petclinic-admin-server/src/main/java/org/springframework/samples/petclinic/admin/SpringBootAdminApplication.java:[30,9] cannot find symbol
    [ERROR] symbol: variable SpringApplication
    [ERROR] location: class org.springframework.samples.petclinic.admin.SpringBootAdminApplication
    [ERROR] -> [Help 1]
    but i got this error
    Marius Oehler

    Hey @ChandTurakhia_twitter
    regarding the DVD Store: I'm not sure but I think there isn't any repository for this anymore. But it has been replaced by the PetClinic. You can find it here: https://github.com/inspectit-labs/spring-petclinic-microservices
    In the repository's readme you also find a detailed description how you can start it with inspectIT.

    But keep in mind that the original inspectIT is no longer developed further!

    Abhishek Bhuskute
    Team, I need your help with setting up and validating inspectIT-ocelot locally. I was unable to find user creation on the UI. Whom should I talk to? Thanks!
    Jonas Kunz
    Hi @abhishekb03 ,
    I guess you are talking about the user management of the configuration server?
    There the UI for the usermanagement is still a work in progress.
    For now, you must manually add users using the REST API, see the swagger documentation after starting the configuration server:
    You need to do a POST /api/v1/users with the following JSON as body:
      "username": "<username>",
      "password": "<password>"
    And don't forget to use your admin credentials via HTTP Basic auth when sending the request.
    Abhishek Bhuskute
    Oh, okay! Yeah I was testing via Swagger for now. Thanks Jonas!
    Alexander Krause
    Hi, I am interested in using Ocelot as alternative to Kieker. Currently, I am trying to gather traces of my sample application with Ocelot. Instrumentation seems to work, but Zipkin does not receive any data. Is there an API (comparable to :8888 for metrics) or a file export, so that I can check if the tracing is working at all?
    Jonas Kunz

    Hi Alexander,
    First of all sorry for the late answer.
    There is no text-ouput for metrics available currently. The first step in debugging would be to make sure that the ZipKin exporter was started. Your logs should contain a line liek this:

    2019-11-22 11:29:55,181 INFO  33304  --- [inspectIT] [       Thread-0] r.i.o.c.exporter.ZipkinExporterService   : Starting Zipkin Exporter with url 'http://zipkin:9411/api/v2/spans'

    If this is presnt, then the issue is most likely the instrumentation configuration.
    In the latest release from this week we have added feature to detect typos (e.g. "instrumnetation" instead of "instrumentation"). If a typo is found, the agent will print out a warning that the given configuration property does not exist.

    To check if your target class is instrumented, i would suggest enabling the debug log:


    When this is enabled the agent will print out all classes/methods he instruments with the names of the rules which caused the instrumentation.

    let me know if you need some more help.

    Vijayakumar Udupa
    Hi, I posted a question on google groups and then stubled upon this room. I'm going to paste my question here as well. Experts, please help me.

    I have an instrumentation need, where in same method is being called twice as part of execution. I would like to retain some data between these calls for my metric computation.

    Let me give a pseudo code for example.
    public void doSomeActivity(){
    //some initilization code here.
    //first callto setStatus method.

    //do some more business logic process, heavy lifting work.
     //second call to setStatus method.

    //some more light steps here.

    I'm trying to instrument "setStatus()" method, trying to push some data to inspectIt-context upon first call and try to retrive it when method is called for second time as part of same execution.
    the instrumentation data element is set for both up-propagation & down-propagation (JVM_LOCAL) with is-tag = false.

    But I can see that, inspectIT fails to propagate value set during first call of setStatus method to subsequent call of same method as part of same execution cycle.

    Is there a way I can achieve this with in current inspectIT ocelot framework using yaml files it self? Any pointers is highly appreciated.

    Jonas Kunz
    Hi Vijayakumar,
    Your approach is exactly the way to do it: enable JVM-local up- and down propagation for the data you want to correlate between these calls. Could you maybe show your instrumentation configuration yaml here?
    Vijayakumar Udupa
    Sure. Here is our YAML file.
          exec_in_process: {up-propagation: JVM_LOCAL,down-propagation: JVM_LOCAL, is-tag: false}
          prev_status : {up-propagation: GLOBAL, down-propagation: JVM_LOCAL, is-tag: true}
              name: com.abcd.xyz.core.parser.ExpressionParser
              - name: updateRequestStatus
                action: timestamp_nanos
                action: get_method_fqn
                action: test_and_set_marker
                constant-input: { marker: exec_in_process}
                action: elapsed_millis
                  sinceNanos: method_entry_time
                action: check_and_count_exec
                  data-input: {flag: exec_flag}
              '[abcd/exec/status]' : abcd_exec_status
              '[method/duration]' : method_duration    
              _arg1: String
              flag: Boolean
            value-body: |
              if( !(_arg1.equalsIgnoreCase("PROCESSING")) && flag.booleanValue()== true) return new Integer(0);
              else return new Integer(1);
    Jonas Kunz
    Did yo ucheck the agent log for errors / warnings? I also recommend turning on debug logging to see if your method actually gets instrumented
    In your pastet YAML you are missing the name of the rule and the usage of your scope but I guess that is a copy-paste error
    Also I can't see the definitions of your metrics, could you post them aswell?
    Vijayakumar Udupa
    I'm able to add system. Out messages and get confirmation. Instrumentation is happening, both method and above code segment is executed. I even printed items from _context.getData(). It has key, but no value