当前位置: 首页 > 知识库问答 >
问题:

加特林没有登录到inflxdb?

班凌
2023-03-14

我尝试按照http://gatling.io/docs/2.2.3/realtime_monitoring/index.html的指南将测试结果记录到influxdb中,并在我以前设置的grafana中显示数据。但是,我看不到gatling应该在inflxDB中的任何地方记录的任何数据。

我对by inflxdb.conf文件进行了编辑,使其包含以下字段:

[[graphite]]
enabled = true
database = "gatlingdb"
bind-address = ":2003"
protocol = "tcp"
consistency-level = "one"
name-separator = "."


templates = [
  "gatling.*.*.*.count measurement.simulation.request.status.field",
  "gatling.*.*.*.min measurement.simulation.request.status.field",
  "gatling.*.*.*.max measurement.simulation.request.status.field",
  "gatling.*.*.*.percentiles50 measurement.simulation.request.status.field",
  "gatling.*.*.*.percentiles75 measurement.simulation.request.status.field",
  "gatling.*.*.*.percentiles95 measurement.simulation.request.status.field",
  "gatling.*.*.*.percentiles99 measurement.simulation.request.status.field"
]
 data {
writers = [console, file, graphite]      # The list of DataWriters to which Gatling write simulation data (currently supported : console, file, graphite, jdbc)
console {
  #light = false                # When set to true, displays a light version without detailed request stats
}

graphite {
  #light = false              # only send the all* stats
  host = "127.0.0.1"         # The host where the Carbon server is located
  port = 2003                # The port to which the Carbon server listens to (2003 is default for plaintext, 2004 is default for pickle)
  protocol = "tcp"           # The protocol used to send data to Carbon (currently supported : "tcp", "udp")
  rootPathPrefix = "gatling" # The common prefix of all metrics sent to Graphite
  #bufferSize = 8192          # GraphiteDataWriter's internal data buffer size, in bytes
  #writeInterval = 1          # GraphiteDataWriter's write interval, in seconds
}

共有1个答案

沈博延
2023-03-14

更新到InflxDB V1.1,问题似乎已经解决了

 类似资料:
  • 问题内容: 有没有人尝试对詹金斯使用加特林插件,但没有maven?我没有maven项目,但是我使用Gatling从终端(bash脚本)生成结果。使用开关我将结果文件夹的目标位置更改为,但是无论如何都会出现错误: 构建仅运行shell脚本,并且构建后操作设置为。感谢您的任何建议。 问题答案: 我认为您应该将结果发送到作业的工作空间,而不是作业本身。 在代码中,插件在构建的工作区中寻找结果。 希望这可

  • Gatling解析Strings参数值并将它们转换为函数,这些函数将根据存储在会话中的数据计算结果,然后对其进行评估。 加特林文件 有没有办法在exec中手动执行此操作? 我有多个使用EL属性的请求体模板,发送的请求将因进纸器而异 我目前拥有的代码如下: 我希望没有办法评估嵌套的EL属性,但是有没有办法使用会话变量手动评估它?类似于 我在其他一些问题中看到过ELCompiler被引用,但不确定从哪

  • 我试图在资源中使用feeder,但是在子页面上我得到了一个 没有定义名为“搜索标准”的属性 然而,第二个被发现了。如何在资源中使用进料器?

  • 我正在构建一个从Firebase接收通知的应用程序。应用程序收到通知但没有弹出它。 任何帮助! 类MyFirebaseMessagingService:FirebaseMessagingService(){

  • 我试着用各种“Rest”和“atOnceUser”进行注射。我在留档上没有找到一个好的解决方案。 我的方法是使用本地计数器创建一个名为“getNextNumber()”的函数,以增加“atOnceUser”的数量,但该函数一开始只调用一次。 有什么想法吗? 我的代码:

  • 我有一个包含JSON数组的JSON文件 测验json 我想针对endpoint测试JSON数组中的每个元素,以观察系统针对唯一有效负载的性能 目前我有 测试ervice.scala 我无法从作为JSON Gatling文档称JSON Feeder将数组的每个元素加载到一个记录集合中 https://gatling.io/docs/2.3/session/feeder/ 即: 并将正文设置为 问题是