Hi, do you have some examples of the custom script for getting metrics or
can you explain directions for customizing the existing script?  Where can
I find the default script ?

On Mon, Feb 3, 2025 at 5:20 PM Sheng Wu <wu.sheng.841...@gmail.com> wrote:

> It can be collected in the k8s or outside.
> But if you want to use the default(provided) script(meter analysis
> script) to analysis metrics and push them into database for query,
> that can't be processed.
>
> Sheng Wu 吴晟
> Twitter, wusheng1108
>
> On Mon, 3 Feb 2025 at 22:50, Alex Lernerman <alex...@gmail.com> wrote:
> >
> > according to your answer i understand  k8s metrics can be collected just
> in
> > case Skywalking is deployed in the same k8s cluster and no way to get the
> > data from outside
> >
> > On Mon, Feb 3, 2025 at 4:40 PM Sheng Wu <wu.sheng.841...@gmail.com>
> wrote:
> >
> > > I don't think that works.
> > > According to the official doc[1], the relative analysis scripts are
> > > listed in `Customizations` section.
> > > In /config/otel-rules/k8s/k8s-service.yaml, we rename the pod to
> > > service, read this doc[2] for more details
> > >
> > >
> > > [1]
> > >
> https://skywalking.apache.org/docs/main/latest/en/setup/backend/backend-k8s-monitoring-metrics-cadvisor/
> > > [2]
> > >
> https://skywalking.apache.org/docs/main/latest/en/concepts-and-designs/mal/#k8s
> > >
> > >
> > > Sheng Wu 吴晟
> > > Twitter, wusheng1108
> > >
> > > On Mon, 3 Feb 2025 at 22:30, Alex Lernerman <alex...@gmail.com> wrote:
> > > >
> > > > I don't need a coordinator for now. I should use stand-alone
> > > configuration.
> > > > i just need to see k8s metrics in Skywalking that aren't outside of
> k8s .
> > > > means i have k8s Prometheus exporter and outside all skywalking
> > > componenets
> > > > include open telemetry collector
> > > >
> > > > On Mon, Feb 3, 2025 at 10:57 AM Sheng Wu <wu.sheng.841...@gmail.com>
> > > wrote:
> > > >
> > > > > Are you deploying oap on a VM? If so, pick a good coordinator, but
> not
> > > k8s.
> > > > >
> > > > >
> > > > >
> > >
> https://skywalking.apache.org/docs/main/latest/en/setup/backend/backend-cluster/
> > > > >
> > > > > And as this setup, you should know how to write MAL and write
> MQE(if
> > > you
> > > > > use 10.x) to make the data persistence and visible.
> > > > >
> > > > > Sheng Wu 吴晟
> > > > >
> > > > > Apache SkyWalking
> > > > > Twitter, wusheng1108
> > > > >
> > > > >
> > > > > Alex Lernerman <alex...@gmail.com>于2025年2月3日 周一16:54写道:
> > > > >
> > > > > > i have external k8s   cluster with Prometheus exporter  without
> > > option to
> > > > > > install something , we will use  remote writer for  export  data
> in
> > > our
> > > > > > OpenTelemetry collector and finally push  it to Skywalking .
> > > > > >
> > > > > > On Mon, Feb 3, 2025 at 10:50 AM Sheng Wu <
> wu.sheng.841...@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > That access is from service mesh and some k8s agent
> requirements to
> > > > > build
> > > > > > > topology, such as rover(ebpf) agent. SkyWalking needs API
> server
> > > > > metadata
> > > > > > > to translate information.
> > > > > > > So, if you want to deploy OAP out of k8s, what is your use
> case?
> > > Are
> > > > > you
> > > > > > > going to use which agents or which 3rd party ecosystem?
> > > > > > >
> > > > > > > Sheng Wu 吴晟
> > > > > > >
> > > > > > > Apache SkyWalking
> > > > > > > Twitter, wusheng1108
> > > > > > >
> > > > > > >
> > > > > > > Alex Lernerman <alex...@gmail.com>于2025年2月3日 周一16:47写道:
> > > > > > >
> > > > > > > > I have same issue , show case is working fine , but in the
> case
> > > of
> > > > > > > > skywalking installed outside from k8s cluster , no data is
> > > presented
> > > > > .
> > > > > > I
> > > > > > > > saw you required serviceaccount and roles in show case for
> > > connect to
> > > > > > > kube
> > > > > > > > api , in case of outside installation skywalking can't
> connect
> > > to k8s
> > > > > > > kube
> > > > > > > > api by default , what is guidelines here
> > > > > > > >
> > > > > > > > On Mon, Feb 3, 2025 at 10:31 AM Sheng Wu <
> > > wu.sheng.841...@gmail.com>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > First of all, most of us are running 10.x, rather than 8.8,
> > > which
> > > > > is
> > > > > > > > years
> > > > > > > > > ago.
> > > > > > > > > Then, as something goes wrong, please check logs.
> > > > > > > > > We have provided quick start and showcase, if you are new,
> > > please
> > > > > run
> > > > > > > > from
> > > > > > > > > there.
> > > > > > > > >
> > > > > > > > > Sheng Wu 吴晟
> > > > > > > > >
> > > > > > > > > Apache SkyWalking
> > > > > > > > > Twitter, wusheng1108
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Vishal Rai <vishal.r...@dotpe.in.invalid>于2025年2月3日
> 周一16:25写道:
> > > > > > > > >
> > > > > > > > > > *Dear Apache SkyWalking Team,*
> > > > > > > > > >
> > > > > > > > > > I am setting up Apache SkyWalking on Kubernetes but have
> > > > > > encountered
> > > > > > > an
> > > > > > > > > > issue that I haven't been able to resolve despite
> reviewing
> > > the
> > > > > > > > > > documentation and troubleshooting.
> > > > > > > > > > *Issue Details:*
> > > > > > > > > >
> > > > > > > > > >    - *Environment:* Kubernetes (SkyWalking-UI,
> > > SkyWalking-OAP,
> > > > > > > > > >    Elasticsearch)
> > > > > > > > > >    - *SkyWalking Version:* 8.8.1
> > > > > > > > > >    - *Error Message:* HTTP ERROR 405 Method Not Allowed
> (when
> > > > > > running
> > > > > > > > > >    Apache SkyWalking-OAP)
> > > > > > > > > >    - *Steps Taken:*
> > > > > > > > > >       - Deployed SkyWalking components using Docker
> images.
> > > > > > > > > >       - Verified that skywalking-ui, skywalking-oap, and
> > > > > > > Elasticsearch
> > > > > > > > > pods
> > > > > > > > > >       are running properly.
> > > > > > > > > >       - Attempted to fetch data from skywalking-ui to
> > > > > > skywalking-oap
> > > > > > > > via
> > > > > > > > > >       curl, but received a 405 Method Not Allowed
> response.
> > > > > > > > > >
> > > > > > > > > > I would appreciate any guidance on resolving this issue.
> > > Please
> > > > > let
> > > > > > > me
> > > > > > > > > know
> > > > > > > > > > if further details are required.
> > > > > > > > > >
> > > > > > > > > > *Thank you for your support!*
> > > > > > > > > >
> > > > > > > > > > *Best Regards,*
> > > > > > > > > > Vishal Rai
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > >
>

Reply via email to