Nityananda Gohain ee6b290a0c
feat: get and update log fields updated to support new materialized c… (#3275)
* feat: get and update log fields updated to support new materialized columns and index

* feat: get attribute keys logic updated

* feat: logs qb changes to support new materialized columns

* feat: don't allow updating static top level fields

* feat: old logs parser updated

* feat: upgrade clickhouse

* fix: columnname format updated for materialized columns

* feat: get fields updated

* feat: minor changes

* fix: default values for distributed columns

* feat: common function for for clickhouse formatted column name

* chore: remove interesting selected fields

* fix: update clickhouse version in other place

---------

Co-authored-by: Prashant Shahi <prashant@signoz.io>
2023-08-23 15:03:24 +05:30
..

Deploy

Check that you have cloned signoz/signoz and currently are in signoz/deploy folder.

Docker

If you don't have docker set up, please follow this guide to set up docker before proceeding with the next steps.

Using Install Script

Now run the following command to install:

./install.sh

Using Docker Compose

If you don't have docker-compose set up, please follow this guide to set up docker compose before proceeding with the next steps.

For x86 chip (amd):

docker-compose -f docker/clickhouse-setup/docker-compose.yaml up -d

Open http://localhost:3301 in your favourite browser. In couple of minutes, you should see the data generated from hotrod in SigNoz UI.

Kubernetes

Using Helm

Bring up SigNoz cluster

helm repo add signoz https://charts.signoz.io

kubectl create ns platform

helm -n platform install my-release signoz/signoz

To access the UI, you can port-forward the frontend service:

kubectl -n platform port-forward svc/my-release-frontend 3301:3301

Open http://localhost:3301 in your favourite browser. Few minutes after you generate load from the HotROD application, you should see the data generated from hotrod in SigNoz UI.

Test HotROD application with SigNoz

kubectl create ns sample-application

kubectl -n sample-application apply -f https://raw.githubusercontent.com/SigNoz/signoz/develop/sample-apps/hotrod/hotrod.yaml

To generate load:

kubectl -n sample-application run strzal --image=djbingham/curl \
--restart='OnFailure' -i --tty --rm --command -- curl -X POST -F \
'user_count=6' -F 'spawn_rate=2' http://locust-master:8089/swarm

To stop load:

kubectl -n sample-application run strzal --image=djbingham/curl \
 --restart='OnFailure' -i --tty --rm --command -- curl \
 http://locust-master:8089/stop

Uninstall/Troubleshoot?

Go to our official documentation site signoz.io/docs for more.