Coder Social home page Coder Social logo

Comments (4)

OriYosefiMSFT avatar OriYosefiMSFT commented on August 28, 2024

You mentioned you're using Fiddler. Can you please let us know if you see traffic going out to https://dc.services.visualstudio.com/v2/track ?
Also, Can you please also add a "Sleep" after the flush to make sure the network traffic gets sent before the program exits?
thanks.

from applicationinsights-java.

arroyc avatar arroyc commented on August 28, 2024

I'm not seeing anything in fiddler traffic, I made sure fiddler is capturing other Java outbound traffic (like google.com). No luck so far. Strange thing is it doesn't throw any exception. Also I want to know for application insight java sdk do you store the telemetry files somewhere like in %APPDATA%/local/ or somewhere? When I used .net, I can see the telemetry files there

from applicationinsights-java.

arroyc avatar arroyc commented on August 28, 2024

@OriYosefiMSFT ,

after doing some magic with fiddler and java config I was finally able to get some outbound traffic

fillder_java_appinsight_session
Request Summary

# Result Protocol Host URL Body Caching Content-Type Process Comments Custom 67 200 HTTPS dc.services.visualstudio.com /v2/track 49 application/json; charset=utf-8 java:2944

Request
{"ver":1,"name":"Microsoft.ApplicationInsights.Event","time":"2016-10-31T13:18:05.589-0700","sampleRate":100.0,"iKey":"3aa27b91-92fd-4d2d-be8a-0ca67c842560","flags":0,"tags":{"ai.internal.sdkVersion":"java:1.0.6","ai.device.id":"MININT-38TTG82.redmond.corp.microsoft.com","ai.device.locale":"en-US","ai.device.os":"Windows 10","ai.device.roleInstance":"MININT-38TTG82.redmond.corp.microsoft.com","ai.device.osVersion":"Windows 10"},"data":{"baseType":"EventData","baseData":{"ver":2,"name":"WinGame1","properties":{"Game":"GameName","Difficulty":"hard","DeveloperMode":"true"},"measurements":null}}}
Response
{"itemsReceived":1,"itemsAccepted":1,"errors":[]}

from applicationinsights-java.

arroyc avatar arroyc commented on August 28, 2024

It works, there was a confusion, I was sending custom events but from the portal I was looking for request events so I was not seeing anything. It's working absolutely fine for me. As I said I'm new to app insight so the UI made me little confused. Thanks all for the help

from applicationinsights-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.