tracee | Linux Runtime Security and Forensics using eBPF | Firewall library
kandi X-RAY | tracee Summary
kandi X-RAY | tracee Summary
Linux Runtime Security and Forensics using eBPF
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tracee
tracee Key Features
tracee Examples and Code Snippets
Community Discussions
Trending Discussions on tracee
QUESTION
Well, I don't get it. Trying to apply a PostSharp attribute for exception handling on a method, the aspect's OnException method is simply not reached by any means. This is very disappointing. For the sake of testing, let's say this is the aspect:
...ANSWER
Answered 2022-Apr-01 at 09:26Having the PostSharp NuGet package installed, the aspect code should be reached, but break-points within the aspect code might not be reached. You need to have PostSharp Tools for Visual Studio installed to make debugging of aspect code work. You can download it at https://www.postsharp.net/download.
QUESTION
I created the following extension:
...ANSWER
Answered 2022-Mar-31 at 19:29You can first select the method and then use it in a subsequent Select
:
QUESTION
I have a simple hello-world typescript project that I'm trying to set up opentelemetry on it. I want to send the traces to console and Zipkin.
I run the app but I don't get any tracer neither on console nor on Zipkin. I can't exactly pin-point what's the problem as I exported the init function (set up tracer in this function) and imported it in the app.ts file but for some reasons I can't get the tracers. There is no error when I run the app.
This is a simple project with two files: tracer.ts and app.ts
tracer.ts
...ANSWER
Answered 2022-Mar-29 at 19:56I've changed your sample to make adjust according to the OpenTelemetry documentation:
tracer.ts
QUESTION
BaseException
...ANSWER
Answered 2022-Mar-29 at 09:23That's not the correct way of doing it, you can't pass through parameters when assigning types.
take the following as example:
QUESTION
This question is exactly the same as this one, which wasn't actually answered (that code only uses one thread). My code looks like this at the moment
...ANSWER
Answered 2022-Mar-28 at 12:45Seems to work thanks to this example. The snippet above becomes:
QUESTION
from azure.core.settings import settings
from azure.core.tracing.ext.opentelemetry_span import OpenTelemetrySpan
settings.tracing_implementation = OpenTelemetrySpan
from opentelemetry import trace
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import BatchSpanProcessor
...ANSWER
Answered 2022-Mar-26 at 03:59AzureMonitorSpanExporter
is old one and not supported/developed now. It is moved from https://github.com/microsoft/opentelemetry-azure-monitor-python to https://github.com/Azure/azure-sdk-for-python. You should be using AzureMonitorTraceExporter
.
QUESTION
I am working on a backend composed of multiple microservices, and I want to be able to view the spans in the Jaeger UI. I use docker-compose
to run my containers, including jaeger, and opentelemetry to generate and send spans. I have followed the troubleshooting guide up to and including the logging reporter.
This is my first time working with jaeger and this kind of architecture so I feel a bit lost at this point.
Here are some relevant parts of my code, some logs and screenshots :
Docker-compose.yaml ...ANSWER
Answered 2022-Mar-23 at 20:07You have to think of a container as an individual minimal host. And in that case, when you say to your ticket_service
app to call localhost
it will call itself, which is not what we want.
Whenever using docker-compose, a docker network is created and the containers are configured to use it.
You can use that network to make your containers communicate with each other by their names.
In your case, as the Jaeger container is called jaeger
, you have to configure the endpoint of your JaegerExporter as follows:
QUESTION
I am instrumenting a node.js service in Google Cloud Platform's Cloud Run.
I'm running into a problem where custom spans are not showing up in Trace.
I know that tracing is working because HTTP/TCP spans (which you get for free in GCP) are showing up nested properly--they wouldn't be nested automatically without configuration, which suggests to me the configuration below is working:
tracing.ts
:
ANSWER
Answered 2022-Mar-15 at 03:46As checked in GCP documentation, only Google Compute Engine and GKE are supported by this service.
However, you can refer to Cloud Run Support in Github, if you are running OpenTelemetry on Cloud Run and a Stackoverflow discussion.
QUESTION
I am using Kotlin
and writing a function to upload a file. While testing, I have observed that if I do the following operations, OutOfMemory
exception is raised and onFailure
callback is called.
- Select a file of size 100 MB to upload it to server. Upload it by calling
uploadFile
. - While it uploads, disconnect the internet.
onFailure
is called with an exception (timeout
). - Enable the internet again and try to upload it again by calling
uploadFile
function. - Repeat the step 2 and 3 for 1-2 more times and app crashes.
onFailure
is called this time withOutOfMemory
exception.
Here is my code.
...ANSWER
Answered 2022-Mar-05 at 09:27I have realized the problem was with val buf = ByteArray(inputStream.available())
. It creates a ByteArray
of huge size in a single go. If we have to upload multiple files of larger size (in my case, 100MB), garbage collector take a while to free the memory from last uploads. It was causing the memory exception. I have changed my code and it stopped being a problem:
QUESTION
After migrating from Spring Boot 2.3 to 2.6 I have weird behavior in Spring Cloud Sleuth. Instrumentation constantly prints to the console these messages
...ANSWER
Answered 2022-Feb-10 at 11:45This has already been fixed https://github.com/spring-cloud/spring-cloud-sleuth/issues/2069 and will be released shortly. Until then you can set the logging level for that class to ERROR logging.level.org.springframework.cloud.sleuth.instrument.jdbc=ERROR
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tracee
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page