ytyou / ticktock

TickTockDB is an OpenTSDB-like time series database, with much better performance.
GNU General Public License v3.0
72 stars 8 forks source link

unrecognized option '--http.request.format' #70

Open FedeBev opened 1 month ago

FedeBev commented 1 month ago

Hi there

running the following command from the doc

docker run -d --name ticktock -h ticktock -p 6182:6182 -p 6181:6181 --cpus 1 -m 8GB --memory-reservation 6GB ytyou/ticktock:latest --tsdb.timestamp.resolution millisecond --http.request.format json

I get the following error

/opt/ticktock/bin/ticktock: unrecognized option '--http.request.format'

Any idea?

Thanks

ylin30 commented 1 month ago

Hi @FedeBev , http.request.format is not longer needed in latest versions. Sorry we don't update the wiki yet. Please run the cmd without --http.request.format json. TT will recognize both json and plain formats of put requests automatically now.

ylin30 commented 1 month ago

Also FYI, some less-used configs are not supported as arguments in starting command line, which may end up with the unrecognized option... error as you saw above. Users have to specify them in conf (e.g., conf/tt.conf) explicitly. I believe http.request.format is one of those.

I will also update wiki. Sorry for the confusion.

ylin30 commented 1 month ago

Done updating the wiki.

ylin30 commented 1 month ago

@FedeBev Did u have a chance to try it out? Pls don't hesitate to ask any questions.