You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For simple protocols like influxdb, a curl command would be enough to actually for users to follow up and write data into out database; However for protocols like OTLP, a step by step example of modifying docker config using Greptime endpoint, running OTLP official docker image and be able to write data into the database would be much more straight forward than just showing how to config Greptime endpoint.
For example, save the following code as config.yaml
And run docker run --rm --network host -v ./config.yaml:/etc/otelcol/config.yaml otel/opentelemetry-collector will start an exporter and write metrics data using Greptime's HTTP OTLP metrics api.
The text was updated successfully, but these errors were encountered:
waynexia
changed the title
Adding minial demos for various client api to write data into Greptime database
Adding minimal demos for various client api to write data into Greptime database
Mar 19, 2024
We currently add demos covering /v1/influxdb/write and /v1/influxdb/api/v2/write.
In the following demos we'd covering Prometheus usages, we will cover /v1/prometheus/xxx.
SQL and PromQL query is included in every demo when we are analyzing the data. I suggest we can add some real-world scenarios to guide users how to write queries and how to migrate from other query slang like InfluxQL. We have a good start at https://docs.greptime.com/user-guide/migrate-to-greptimedb/migrate-from-influxdb#query-data. May or may not it should be part of our demos.
We now have various protocol supported in HTTP api, Here are some entry paths for read and/or write:
For simple protocols like influxdb, a curl command would be enough to actually for users to follow up and write data into out database; However for protocols like OTLP, a step by step example of modifying docker config using Greptime endpoint, running OTLP official docker image and be able to write data into the database would be much more straight forward than just showing how to config Greptime endpoint.
For example, save the following code as
config.yaml
And run
docker run --rm --network host -v ./config.yaml:/etc/otelcol/config.yaml otel/opentelemetry-collector
will start an exporter and write metrics data using Greptime's HTTP OTLP metrics api.The text was updated successfully, but these errors were encountered: