Skip to content

Commit

Permalink
fix: entity exporter should use logs_endpoint, instead of endpoint
Browse files Browse the repository at this point in the history
If you use endpoint, OTel agent will append it with "/logs" as the
real URL. Not what we want.
  • Loading branch information
xuewei committed Nov 7, 2024
1 parent 1d1cc3b commit 3c11bc0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: agent
description: Chart to install K8s collection stack based on Observe Agent
type: application
version: 0.30.2
version: 0.30.3
appVersion: "1.1.0"
dependencies:
- name: opentelemetry-collector
Expand Down
2 changes: 1 addition & 1 deletion charts/agent/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# agent

![Version: 0.30.2](https://img.shields.io/badge/Version-0.30.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square)
![Version: 0.30.3](https://img.shields.io/badge/Version-0.30.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square)

> [!CAUTION]
> This chart is under active development and is not meant to be installed yet.
Expand Down
2 changes: 1 addition & 1 deletion charts/agent/templates/_config-exporters.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ otlphttp/observe/base:

{{- define "config.exporters.otlphttp.observe.entity" -}}
otlphttp/observe/entity:
endpoint: "{{ .Values.observe.collectionEndpoint.value | toString | trimSuffix "/" }}/v1/kubernetes/v1/entity"
logs_endpoint: "{{ .Values.observe.collectionEndpoint.value | toString | trimSuffix "/" }}/v1/kubernetes/v1/entity"
headers:
{{- if .Values.observe.entityToken.use }}
authorization: "Bearer ${env:ENTITY_TOKEN}"
Expand Down

0 comments on commit 3c11bc0

Please sign in to comment.