Is it possible to track Redis logs in Application Insights for Java

Yana Lysenkova 20 Reputation points
2023-05-22T15:05:09.5666667+00:00

Regarding https://video2.skills-academy.com/en-us/answers/questions/1186276/redis-session-state
tracking Dependency logs is disabled by default for Redis. In the answer above was answer how to set it for .NET. Is there any way to enable Redis tracing for Java?

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
251 questions
0 comments No comments
{count} votes

Accepted answer
  1. GeethaThatipatri-MSFT 29,387 Reputation points Microsoft Employee
    2023-05-23T01:10:10.5566667+00:00

    Hi, @Yana Lysenkova Welcome to the Microsoft Q&A forum, Thanks for posting your question.

    If a client application is using a Redis client library that emits logs, the app could capture the logs and send them to App Insights. Communication from the client app to a Redis server happens over a proprietary protocol rather than HTTP, so standard dependency logging won't work. 

    Regards

    Geetha


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.