Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker image for more user-friendly usage #1285

Closed
jiacai2050 opened this issue Oct 27, 2023 · 4 comments · Fixed by #1530
Closed

Update docker image for more user-friendly usage #1285

jiacai2050 opened this issue Oct 27, 2023 · 4 comments · Fixed by #1530
Assignees
Labels
docs Improvements or additions to documentation feature New feature or request good first issue Good for newcomers

Comments

@jiacai2050
Copy link
Contributor

jiacai2050 commented Oct 27, 2023

Describe This Problem

If new users try ceresdb with docker image, there is no easy way for them to explore data stored in ceresdb.

Proposal

Since ceresdb already support many query protocol, we can include following tools in docker images to help users explore :

  • mysql client
  • grafana, with ceresdb added as data source by default.

In this way, users can either explore in terminal or web UI.

Additional Context

No response

@jiacai2050 jiacai2050 added feature New feature or request docs Improvements or additions to documentation good first issue Good for newcomers labels Oct 27, 2023
@dracoooooo
Copy link
Contributor

Hi, I would like to do this task, please assign this issue to me.

@jiacai2050
Copy link
Contributor Author

Thanks, assigned.

@dracoooooo
Copy link
Contributor

Can HoraeDB be used directly as a datasource for Grafana, or is it necessary to install Prometheus first?

@dracoooooo
Copy link
Contributor

Can HoraeDB be used directly as a datasource for Grafana, or is it necessary to install Prometheus first?

Oh I found the doc in Ecosystem/InfluxDB. Operation/Observability seems to be outdated with typo and broken picture. I will also update this doc later.

jiacai2050 pushed a commit that referenced this issue May 12, 2024
## Rationale

Close #1285 

Install mysql-client and grafana when building docker image.

## Detailed Changes

1. Install mysql-client and grafana in Dockerfile.
2. Add docker/datasource.yml as grafana default datasource.
3. Start grafana server in entrypoint.sh.

### mysql-client

In the docker container:

<img width="640" alt="image"
src="https://github.com/apache/incubator-horaedb/assets/55609330/5c59fd23-c54e-4761-8833-51355a81fada">

### grafana

Start the container and access http://<your_ip>:3000

<img width="1438" alt="image"
src="https://github.com/apache/incubator-horaedb/assets/55609330/34a2718e-3803-4e01-b384-39ca64dea7b7">

## Test Plan

None.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation feature New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants