Skip to content
This repository was archived by the owner on Mar 25, 2022. It is now read-only.
This repository was archived by the owner on Mar 25, 2022. It is now read-only.

influxdb-stress 连接influxdb 失败 #39

@mingzizenmequ

Description

@mingzizenmequ

[root@cdh6-pre2038 bin]# /root/go/bin/influx-stress insert -r 60s --strict --pps 800000 --host http://172.20.20.38:8086
Using point template: ctr,some=tag n=0i
Using batch size of 10000 line(s)
Spreading writes across 100000 series
Throttling output to ~800000 points/sec
Using 80 concurrent writer(s)
Running until ~18446744073709551615 points sent or until ~1m0s has elapsed
Failed to create database: Bad status code during Create(CREATE DATABASE stress): 401, body: {"code":"unauthorized","message":"unauthorized access"}
Aborting.

我的influxdb版本是2.0.8 然后说权限认证不通过 但是我怎么加上token呢
@chengshiwen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions