From 572b7d73fe2db3ee8b3cd5d7a3f340eded37e47f Mon Sep 17 00:00:00 2001
From: Naseem <naseemkullah@gmail.com>
Date: Mon, 6 Jan 2020 20:58:26 -0500
Subject: [PATCH 1/2] fix: change supportedVersions to 4.x.x

---
 packages/opentelemetry-plugin-ioredis/src/ioredis.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/opentelemetry-plugin-ioredis/src/ioredis.ts b/packages/opentelemetry-plugin-ioredis/src/ioredis.ts
index 4fedf82c53..27f2b20f53 100644
--- a/packages/opentelemetry-plugin-ioredis/src/ioredis.ts
+++ b/packages/opentelemetry-plugin-ioredis/src/ioredis.ts
@@ -22,7 +22,7 @@ import { traceConnection, traceSendCommand } from './utils';
 export class IORedisPlugin extends BasePlugin<typeof ioredisTypes> {
   static readonly COMPONENT = 'ioredis';
   static readonly DB_TYPE = 'redis';
-  readonly supportedVersions = ['^2.0.0'];
+  readonly supportedVersions = ['^4.0.0'];
 
   constructor(readonly moduleName: string) {
     super();

From 0be0c5a5c1899b21e52bf816d7eeb7eb10712cc5 Mon Sep 17 00:00:00 2001
From: Naseem <naseem@transit.app>
Date: Mon, 20 Jan 2020 19:39:09 -0500
Subject: [PATCH 2/2] fix: supported versions

---
 packages/opentelemetry-plugin-ioredis/src/ioredis.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/opentelemetry-plugin-ioredis/src/ioredis.ts b/packages/opentelemetry-plugin-ioredis/src/ioredis.ts
index a19bfe6f03..89d7cb9593 100644
--- a/packages/opentelemetry-plugin-ioredis/src/ioredis.ts
+++ b/packages/opentelemetry-plugin-ioredis/src/ioredis.ts
@@ -23,7 +23,7 @@ import { VERSION } from './version';
 export class IORedisPlugin extends BasePlugin<typeof ioredisTypes> {
   static readonly COMPONENT = 'ioredis';
   static readonly DB_TYPE = 'redis';
-  readonly supportedVersions = ['^4.0.0'];
+  readonly supportedVersions = ['>1 <5'];
 
   constructor(readonly moduleName: string) {
     super('@opentelemetry/plugin-ioredis', VERSION);