Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New component:TCP Receiver #34414

Open
3 tasks
yanfeng1992 opened this issue Aug 6, 2024 · 6 comments
Open
3 tasks

New component:TCP Receiver #34414

yanfeng1992 opened this issue Aug 6, 2024 · 6 comments
Assignees
Labels
Accepted Component New component has been sponsored

Comments

@yanfeng1992
Copy link

yanfeng1992 commented Aug 6, 2024

The purpose and use-cases of the new component

To monitor the availability and performance of TCP endpoints.
Use case: TCP network detection plug-in, usually used to monitor whether a TCP port on the local machine is listening, or whether a remote port can be connected

Example configuration for the component

receivers:
  tcpcheck:
    endpoint: 10.255.88.146:32443 # required
    collection_interval: 60s

Telemetry data types supported

attributes:
  error.message:
    description: Error message recorded during check
    type: string
  tcp.endpoint:
    description: Full TCO endpoint
    type: string

metrics:
  tcpcheck.status:
    description: 1 if the TCP client successfully connected, otherwise 0.
    enabled: true
    sum:
      value_type: int
      aggregation_temporality: cumulative
      monotonic: false
    unit: "1"
    attributes: [tcp.endpoint]
  tcpcheck.duration:
    description: Measures the duration of TCP connection.
    enabled: true
    gauge:
      value_type: int
    unit: ms
    attributes: [tcp.endpoint]
  tcpcheck.error:
    description: Records errors occurring during TCP check.
    enabled: true
    sum:
      value_type: int
      aggregation_temporality: cumulative
      monotonic: false
    unit: "{error}"
    attributes: [error.message]

Is this a vendor-specific component?

  • This is a vendor-specific component
  • If this is a vendor-specific component, I am a member of the OpenTelemetry organization.
  • If this is a vendor-specific component, I am proposing to contribute and support it as a representative of the vendor.

Code Owner(s)

yanfeng1992

Sponsor (optional)

@atoulme

Additional context

No response

@yanfeng1992 yanfeng1992 added needs triage New item requiring triage Sponsor Needed New component seeking sponsor labels Aug 6, 2024
@yanfeng1992
Copy link
Author

If you are interested in this, please become a sponsor. Thank you. @codeboten @mx-psi

@yanfeng1992
Copy link
Author

yanfeng1992 commented Sep 12, 2024

Invitation to become a sponsor, is anyone interested in this?
@songy23 @mwear @dmitryax @fatsheep9146

@atoulme
Copy link
Contributor

atoulme commented Oct 12, 2024

tcpcheck.error:
    description: Records errors occurring during TCP check.
    enabled: true
    sum:
      value_type: int
      aggregation_temporality: cumulative
      monotonic: false
     ```
Shouldn't `monotonic` be true?

@atoulme
Copy link
Contributor

atoulme commented Oct 12, 2024

I will sponsor.

@atoulme atoulme added Accepted Component New component has been sponsored and removed Sponsor Needed New component seeking sponsor needs triage New item requiring triage labels Oct 12, 2024
@ZenoCC-Peng
Copy link
Contributor

Hi,
I would like to contribute this component and work first pass PR.

@atoulme
Copy link
Contributor

atoulme commented Oct 16, 2024

@ZenoCC-Peng please go right ahead.

yanfeng1992 added a commit to yanfeng1992/opentelemetry-collector-contrib that referenced this issue Oct 17, 2024
#### Description
Introduce a new receiver, TCP Check Receiver.This receiver creates stats by connecting to an TCP server.

#### Link to tracking issue
Related to open-telemetry#34414

#### Testing
N/A

#### Documentation
metadata.yaml, README.

Signed-off-by: huangyanfeng <[email protected]>
yanfeng1992 added a commit to yanfeng1992/opentelemetry-collector-contrib that referenced this issue Oct 18, 2024
#### Description
Introduce a new receiver, TCP Check Receiver.This receiver creates stats by connecting to an TCP server.

#### Link to tracking issue
Related to open-telemetry#34414

#### Testing
N/A

#### Documentation
metadata.yaml, README.

Signed-off-by: huangyanfeng <[email protected]>
yanfeng1992 added a commit to yanfeng1992/opentelemetry-collector-contrib that referenced this issue Oct 18, 2024
#### Description
Introduce a new receiver, TCP Check Receiver.This receiver creates stats by connecting to an TCP server.

#### Link to tracking issue
Related to open-telemetry#34414

#### Testing
N/A

#### Documentation
metadata.yaml, README.

Signed-off-by: huangyanfeng <[email protected]>
yanfeng1992 added a commit to yanfeng1992/opentelemetry-collector-contrib that referenced this issue Oct 18, 2024
#### Description
Introduce a new receiver, TCP Check Receiver.This receiver creates stats by connecting to an TCP server.

#### Link to tracking issue
Related to open-telemetry#34414

#### Testing
N/A

#### Documentation
metadata.yaml, README.

Signed-off-by: huangyanfeng <[email protected]>
yanfeng1992 added a commit to yanfeng1992/opentelemetry-collector-contrib that referenced this issue Nov 21, 2024
Introduce a new receiver, TCP Check Receiver.This receiver creates stats by connecting to an TCP server.

Related to open-telemetry#34414

N/A

metadata.yaml, README.

Signed-off-by: huangyanfeng <[email protected]>
yanfeng1992 added a commit to yanfeng1992/opentelemetry-collector-contrib that referenced this issue Nov 21, 2024
Introduce a new receiver, TCP Check Receiver.This receiver creates stats by connecting to an TCP server.

Related to open-telemetry#34414

N/A

metadata.yaml, README.

Signed-off-by: huangyanfeng <[email protected]>
yanfeng1992 added a commit to yanfeng1992/opentelemetry-collector-contrib that referenced this issue Nov 21, 2024
Introduce a new receiver, TCP Check Receiver.This receiver creates stats by connecting to an TCP server.

Related to open-telemetry#34414

N/A

metadata.yaml, README.

Signed-off-by: huangyanfeng <[email protected]>
yanfeng1992 added a commit to yanfeng1992/opentelemetry-collector-contrib that referenced this issue Nov 21, 2024
Introduce a new receiver, TCP Check Receiver.This receiver creates stats by connecting to an TCP server.

Related to open-telemetry#34414

N/A

metadata.yaml, README.

Signed-off-by: huangyanfeng <[email protected]>
yanfeng1992 added a commit to yanfeng1992/opentelemetry-collector-contrib that referenced this issue Nov 22, 2024
Introduce a new receiver, TCP Check Receiver.This receiver creates stats by connecting to an TCP server.

Related to open-telemetry#34414

N/A

metadata.yaml, README.

Signed-off-by: huangyanfeng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Component New component has been sponsored
Projects
None yet
Development

No branches or pull requests

3 participants