Ok, so for this part of performance and sending requests to work I should
create something else in my project, right? Should this demo be a bit more
manipulative and not static like it is now? If that's the case then I'll
change the project and leave the agent's code the way it is.

Em sex., 10 de mar. de 2023 às 00:16, xue fan <qiuxia...@apache.org>
escreveu:

> You don't need to change its source code. According to your demo, here
> are the reasons why the agent didn't work on your application. First,
> there are no errors to report in your application. Second, no segments
> are reported because there are no http requests. Finally, you enable
> spa mode, but you cannot report the pv and performance by
> `ClientMonitor.setPerformance(object)` when the route changes.
>
> Myrelle Damas G. S. de Araújo <myrelle.da...@gmail.com> 于2023年3月9日周四
> 22:35写道:
> >
> > I noticed something while browsing the web application, when I click F12
> to browse the Sources, I find a folder in the tree that I cannot find on
> the server, precisely the "skywalking-client-js" folder and in that folder
> I find the monitor.ts file with information from instrumenting the agent
> apparently. I can't see this information on the server, should I configure
> the agent then in this monitor.ts? If so, how do I locate this folder and
> get to this file to make the necessary adjustments?
> >
> > Em seg., 6 de mar. de 2023 às 01:34, xue fan <qiuxia...@apache.org>
> escreveu:
> >>
> >> Two suggestions:
> >>
> >> 1. if set the enableSPA to true, you should implement it according to
> >> https://github.com/apache/skywalking-client-js#spa-page.
> >> 2. if you want to report error logs for VUE component , you should
> >> refer to
> https://github.com/apache/skywalking-client-js#catching-errors-in-frames-including-react-angular-vue
> >>
> >> Myrelle Damas G. S. de Araújo <myrelle.da...@gmail.com> 于2023年3月3日周五
> 22:16写道:
> >> >
> >> > See if you can see it now please.
> >> >
> >> > Em sex., 3 de mar. de 2023 às 09:54, Sheng Wu <
> wu.sheng.841...@gmail.com> escreveu:
> >> >>
> >> >> The Apache Mail list only accepts raw test or link.
> >> >> The image would not be forwarded.
> >> >>
> >> >> Sheng Wu 吴晟
> >> >> Twitter, wusheng1108
> >> >>
> >> >>
> >> >> Myrelle Damas G. S. de Araújo <myrelle.da...@gmail.com> 于2023年3月3日周五
> >> >> 20:48写道:
> >> >>
> >> >> > Here the print when I put the "type": "module"
> >> >> > [image: image.png]
> >> >> >
> >> >> > Em sex., 3 de mar. de 2023 às 09:10, Myrelle Damas G. S. de Araújo
> <
> >> >> > myrelle.da...@gmail.com> escreveu:
> >> >> >
> >> >> >> I put the scheme (http), however, it still didn't return anything
> to me
> >> >> >> on the Skywalking frontend. Here are the steps I usually take to
> upload the
> >> >> >> application:
> >> >> >>
> >> >> >> 1 - Saved my settings.
> >> >> >> 2 - I do the "npm run build".
> >> >> >> 3 - Then "npm run server"
> >> >> >>
> >> >> >> Then the application goes up, without any type of error, but it
> seems
> >> >> >> that the agent still cannot communicate with the project.
> >> >> >>
> >> >> >> Attached is another attempt I made yesterday, placing the
> client.js
> >> >> >> separately. This import error I looked for and already set the
> "type":
> >> >> >> "module" in the package.json, but even so I can't overcome this
> situation.[image:
> >> >> >> error impor.png]
> >> >> >>
> >> >> >> Em qui., 2 de mar. de 2023 às 23:36, xue fan <
> qiuxia...@apache.org>
> >> >> >> escreveu:
> >> >> >>
> >> >> >>> Hi, I found out your parameter of collector has no scheme.
> >> >> >>>
> >> >> >>>
> https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL#scheme
> >> >> >>>
> >> >> >>> Myrelle Damas G. S. de Araújo <myrelle.da...@gmail.com>
> 于2023年3月2日周四
> >> >> >>> 23:01写道:
> >> >> >>> >
> >> >> >>> > The client-js version I'm using is 0.9.0.
> >> >> >>> >
> >> >> >>> > Attached is the .zip and the link Drive of the test project. I
> >> >> >>> emphasize again that our team is a monitoring team, so we don't
> have much
> >> >> >>> knowledge of development in NodeJs, VUE... We look forward to
> your feedback
> >> >> >>> and thank you in advance!
> >> >> >>> >
> >> >> >>> >
> >> >> >>>
> https://drive.google.com/file/d/1V9UxFcr8JpbmQJKoCozdibM3Sh3jLHM4/view?usp=share_link
> >> >> >>> >
> >> >> >>> > Em qua., 1 de mar. de 2023 às 15:36, Myrelle Damas G. S. de
> Araújo <
> >> >> >>> myrelle.da...@gmail.com> escreveu:
> >> >> >>> >>
> >> >> >>> >> Good afternoon,
> >> >> >>> >>
> >> >> >>> >> I'm trying to use Skywalking at my workplace and we're trying
> to
> >> >> >>> instrument the agent in a NodeJS application. At first, the
> developer
> >> >> >>> followed the manual and did the instrumentation, however, when
> an error
> >> >> >>> occurs in the application, it tries to send the log for a
> request like this
> >> >> >>> one:
> >> >> >>> >>
> >> >> >>> >>
> >> >> >>> >> Then, at this moment, an error occurs in the Skywalking log:
> >> >> >>> >> 2022-09-29 15:19:12,444 -
> >> >> >>> com.linecorp.armeria.server.logging.LoggingService - 186
> >> >> >>> [armeria-eventloop-epoll-4-41] WARN  [] - [sreqId=abbf564f,
> >> >> >>> chanId=52c03e18, raddr=10.200.12.77:62788,
> laddr=172.26.0.139:12800][h1c://vlcd-zabbixdesv01/browser/errorLogs#POST]
> >> >> >>> Response: {startTime=2022-09-29T18:19:12.442Z(1664475552442149),
> >> >> >>> length=37B, duration=705µs(705241ns),
> totalDuration=108ms(108534921ns),
> >> >> >>> cause=java.lang.IllegalArgumentException: No suitable request
> converter
> >> >> >>> found for a @RequestObject 'List', headers=[:status=400,
> >> >> >>> content-type=text/plain; charset=utf-8, content-length=37]}
> >> >> >>> >>
> >> >> >>> >> Below is the log that was sent to me on the day of the
> developer's
> >> >> >>> test.
> >> >> >>> >>
> >> >> >>> >> Our monitoring team was unable to help resolve his problem,
> so we
> >> >> >>> tried to make a very basic test application to understand the
> steps the
> >> >> >>> developer took. However, we are not succeeding, neither with the
> backend
> >> >> >>> agent nor with the clientjs agent, we would like some help so
> that we can
> >> >> >>> configure the agent in the application so that it appears in
> Skywalking. I
> >> >> >>> appreciate the attention!
> >> >> >>> >>
> >> >> >>> >> Myrelle Damas.
> >> >> >>>
> >> >> >>
>

Reply via email to