Skip to content

Commit a3fe63c

Browse files
migrate opensearch to clickhouse (#279)
* migrate opensearch to clickhouse * fix formatting * add mysql2 to implicitDeps * fix formatting * update package json and knexfile * fix formatting * test failing migration script * fix knex migration
1 parent 707ead3 commit a3fe63c

106 files changed

Lines changed: 3829 additions & 1822 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,6 @@ schema.graphql
5050
temp
5151
tmp
5252

53-
kms/data
53+
kms/data
54+
55+
volumes

.nxignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.github
2-
.next
2+
.next
3+
volumes

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
libs/common/src/version.json
77
**/.next
88
/docs
9+
volumes

.vscode/settings.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
1-
{}
1+
{
2+
"sqltools.connections": [
3+
{
4+
"server": "localhost",
5+
"port": 8123,
6+
"useHTTPS": false,
7+
"database": "default",
8+
"username": "default",
9+
"password": "",
10+
"tls": {},
11+
"previewLimit": 50,
12+
"driver": "ClickHouse",
13+
"name": "Local"
14+
}
15+
]
16+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ npm install
136136

137137
### Spin up infrastructure dependencies via Docker Compose
138138

139-
Pezzo is entirely cloud-native and relies solely on open-source technologies such as [PostgreSQL](https://www.postgresql.org/), [OpenSearch](https://github.com/opensearch-project/OpenSearch), [Redis](https://github.com/redis/redis) and [Supertokens](https://supertokens.com/).
139+
Pezzo is entirely cloud-native and relies solely on open-source technologies such as [PostgreSQL](https://www.postgresql.org/), [ClickHouse](https://github.com/ClickHouse/ClickHouse), [Redis](https://github.com/redis/redis) and [Supertokens](https://supertokens.com/).
140140

141141
You can run these dependencies via Docker Compose:
142142

apps/console/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"options": {},
113113
"configurations": {
114114
"local": {
115-
"tags": ["pezzolabs/pezzo/console"],
115+
"tags": ["ghcr.io/pezzolabs/pezzo/console"],
116116
"push": false
117117
}
118118
}

apps/console/src/app.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import { PromptEditView } from "./features/editor/PromptEditView";
3434
import { EditorProvider } from "./lib/providers/EditorContext";
3535
import { PromptTesterProvider } from "./lib/providers/PromptTesterContext";
3636
import { PromptVersionsView } from "./components/prompts/views/PromptVersionsView";
37-
import { PromptMetricsView } from "./components/prompts/views/PromptMetricsView";
3837
import { Suspense } from "react";
3938
import { FullScreenLoader } from "./components/common/FullScreenLoader";
4039
import { OrgPage } from "./pages/projects/OrgPage";
@@ -158,7 +157,6 @@ export function App() {
158157
}
159158
/>
160159
<Route path="versions" element={<PromptVersionsView />} />
161-
<Route path="metrics" element={<PromptMetricsView />} />
162160
</Route>
163161
</Route>
164162
</Route>
667 Bytes
Loading

apps/console/src/assets/providers/anthropic-logo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.
1.32 KB
Loading

0 commit comments

Comments
 (0)