# Redis config file

**URL:** <https://community.dynatrace.com/t/redis-config-file/22449>\
**Category:** Extensions\
**Tags:** oneagent, extensions\
**Created:** [October 30, 2019, 2:20pm UTC](https://community.dynatrace.com/t/redis-config-file/22449 "2019-10-30T14:20:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalle\_lahtinen](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kalle\_lahtinen](https://community.dynatrace.com/u/kalle_lahtinen)\
**Post date:** [October 30, 2019, 2:20pm UTC](https://community.dynatrace.com/t/redis-config-file/22449/1 "2019-10-30T14:20:54Z")

</div>

Hi,

Referring to this documentation:

> **[Timedrift Monitoring extension](https://docs.dynatrace.com/docs/observe/infrastructure-observability/extensions/timedrift-monitoring)**
>
> Monitor your host's NTP/Chrony Time Offset.

First there’s a reference to command renaming:

“If you use a configuration file for the rename-command operation, you need to use its path in Monitored Extension configuration. For example: docker run redis”

Then command rewriting:

“Config file location is an optional configuration file for command rewriting.” (an example in the Dynatrace UI for this is /usr/local/etc/redis/redis.conf)

I find this somewhat confusing - it could be because I’m not that familiar with Redis 🙂 Is command renaming and rewriting essentially the same thing then? That redis.conf path example in the Dynatrace portal makes more sense to me than the other example of “docker run redis” - how is that a path?

I tested adding the redis.conf path to a few of my servers, and then left a few of them blank. I saw no difference in the collected data. When do I need to enter that path, exactly? What is the concrete effect of using it vs. not?

---

<div class="post-metadata">

**Author:** ![maciej\_grynda](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/maciej_grynda/32/38855_2.png) [@maciej\_grynda](https://community.dynatrace.com/u/maciej_grynda)\
**Post date:** [November 7, 2019, 7:00am UTC](https://community.dynatrace.com/t/redis-config-file/22449/2 "2019-11-07T07:00:12Z")

</div>

Hi Kalle!

I agree, doc is a bit misleading, it should be improved.

1. Yes, command rewiriting and renaming are considered the same thing.

2. It should work like this - if you run redis with rename-command configured in docker container you have to provide path to it in redis config UI.

3. “docker run redis” - it should be more like “build docker image with configuration file or mount it from host file system”

We will update documentation

Maciek
